Skip to content

Instantly share code, notes, and snippets.

@hwclass
Created May 22, 2019 10:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hwclass/d382081b3db3225134f6de97794f8170 to your computer and use it in GitHub Desktop.
Save hwclass/d382081b3db3225134f6de97794f8170 to your computer and use it in GitHub Desktop.
curl -L https://raw.githubusercontent.com/creationix/nvm/v0.30.2/install.sh > /tmp/nvm-install.sh && bash /tmp/nvm-install.sh
@hwclass
Copy link
Author

hwclass commented May 22, 2019

// or

## Install nvm
brew install nvm
## Make it load
mkdir -p ~/.nvm
echo $'export NVM_DIR="$HOME/.nvm"\n. "/usr/local/opt/nvm/nvm.sh"' >> ~/.bash_profile
## Restart terminal or source
source ~/.bash_profile
## Install LTS NodeJS
nvm install --lts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment