Skip to content

Instantly share code, notes, and snippets.

@willwm
Last active July 19, 2020 04:40
Show Gist options
  • Save willwm/0942e821185ce6f99901516ed6d2164f to your computer and use it in GitHub Desktop.
Save willwm/0942e821185ce6f99901516ed6d2164f to your computer and use it in GitHub Desktop.
Install nvm
# Install nvm:
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash
# Configure nvm shell context:
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
# Install Node.js via nvm:
nvm install node
nvm use node
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment