Created
August 29, 2019 15:13
-
-
Save kamalhm/9d370fdf229622e313e18e0e707ad408 to your computer and use it in GitHub Desktop.
Step to install NVM on ZSH
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
# 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