Created
September 5, 2020 10:46
-
-
Save h2ouw8n4/0965ed1af2312907a0e71cab995e8c54 to your computer and use it in GitHub Desktop.
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 Node Version Manager | |
curl https://raw.githubusercontent.com/creationix/nvm/master/install.sh > ~/nvmInstall.sh | |
chmod +x ~/nvmInstall.sh && ~/nvmInstall.sh && source ~/.profile | |
export NVM_DIR="$HOME/.nvm" | |
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm | |
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion | |
nvm install --lts --latest-npm | |
rm ~/nvmInstall.sh | |
# Install my starter npm stuff | |
npm install --unsafe-perm -g gatsby-cli browserify gulp uglify-js |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment