Cheat Sheets


Created: 2017 May 19th

Updated: 2019 October 13th

Edit this page on GitHub

This is just stuff that I have put down that I find I use a lot of the time for my own reference.

Update dependencies

Update all project dependencies to lates versions.

1yarn upgrade --latest

Globally add a package

1yarn global add netlify-cli

Upgrade global packages

1yarn global upgrade

displays the location of the yarn bin folder.

1yarn bin

list installed packages.

1yarn ls


Couple of good one here from @beedesignllc ๐Ÿ‘Œ

1yarn create react-app my-app-name

โ˜๏ธ downloads and runs latest create-react-app works for other similarly named pkgs


1yarn flow

โ˜๏ธ will run node_modules/.bin/flow without you having to add it as a package.json script.

npm ci

The equivalent to npm ci for yarn:

1yarn install --frozen-lockfile