- Install the current LTS version of Node.
- If you are using NVM (recommended), running
nvm installwill install the latest version, and runningnvm usewill automatically choose the right Node version for you.
- If you are using NVM (recommended), running
- Run
corepack enableto install Yarn via Corepack.- If you have Yarn installed globally via Homebrew or NPM, you'll need to uninstall it before running this command.
- Run
yarn installto install dependencies and run any required post-install scripts. - Run
yarn simple-git-hooksto add a Git hook to your local development environment which will ensure that all files pass linting before you push a branch.