Skip to content

Instantly share code, notes, and snippets.

@jwelshiv
Created July 1, 2021 17:15
Show Gist options
  • Save jwelshiv/8b0b03926c84ac3123e6b8d07710d7d9 to your computer and use it in GitHub Desktop.
Save jwelshiv/8b0b03926c84ac3123e6b8d07710d7d9 to your computer and use it in GitHub Desktop.
setup node & git
# install homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install git curl
# install nvm
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash
# install node
nvm install node
nvm use node
npm install -g npm
# then setup github
ssh-keygen
# copy pub key to clipboard
cat ~/.ssh/id_rsa.pub | pbcopy
# then goto https://github.com/settings/ssh/new and add it there
# then clone repo
mkdir -p ~/repos && cd ~/repos
git clone [email protected]:{username}/{repo}.git
# build app
cd {repo}
npm install
npm start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment