My defaults for OS X
Install nvm
- Use
nvm
nvm installation instructions - Use
node@14.15.4
:nvm use node@14.15.4
- Use
npm@6.14.10
nvm install stable
which node
- Global
nvm alias default 14.15.4
Forking and cloning repo locally
- Fork the main repo: This can be done directly from the github ui.
- Clone your forked repo locally:
git clone <path-to-your-forked-repo>
- Setup a link to main repo:
git remote add upstream <path-to-main-repo>
From this point on, origin represents your forked repo, upstream represents the main repo.