Last active
July 4, 2017 04:12
-
-
Save cfsanderson/32bc37416c1373c5314d9ea98146fa7c to your computer and use it in GitHub Desktop.
Install and setup script for NVM.
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
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.2/install.sh | bash | |
export NVM_DIR="$HOME/.nvm" | |
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" | |
export NVM_DIR="$HOME/.nvm" | |
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" | |
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" | |
nvm install node | |
command -v nvm | |
echo "===== should output 'nvm' =====" | |
echo "===== Next Step: install NPM dependencies =====" | |
echo "===== curl -Lks https://goo.gl/VkzXbb | bash =====" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment