Forked from tomsihap/gist:e703b9b063ecc101f5a4fc0b01a514c9
Created
October 15, 2020 15:11
-
-
Save acampagnaro/36c23ca603380ddff223d54cd61ea0ac to your computer and use it in GitHub Desktop.
Install NVM in Ubuntu 18.04 with ZSH
This file contains hidden or 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 | |
$ curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/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
You need to run “nvm install N/A” to install it before using it.' even tho I have already installed lts/*
nvm alias default v12.16.3