Skip to content

Instantly share code, notes, and snippets.

@kamalhm
Created August 29, 2019 15:13
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 kamalhm/9d370fdf229622e313e18e0e707ad408 to your computer and use it in GitHub Desktop.
Save kamalhm/9d370fdf229622e313e18e0e707ad408 to your computer and use it in GitHub Desktop.
Step to install NVM on ZSH
# Find the latest version on https://github.com/creationix/nvm#install-script
# Install it on bash first
$ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.34.0/install.sh | bash
# Add in your ~/.zshrc the following:
export NVM_DIR=~/.nvm
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"
$ source ~/.zshrc
# Usage :
$ nvm install node
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment