Created
July 1, 2021 17:15
-
-
Save jwelshiv/8b0b03926c84ac3123e6b8d07710d7d9 to your computer and use it in GitHub Desktop.
setup node & git
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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