Last active
April 3, 2019 07:14
-
-
Save saleh-old/e9d920ec566238b6a9258ab0b17738df to your computer and use it in GitHub Desktop.
commands to install latest LTS node on ubuntu 18.04
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
# update ubuntu | |
sudo apt update | |
# install nvm | |
curl -sL https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh -o install_nvm.sh | |
bash install_nvm.sh | |
source ~/.profile | |
# install node + npm | |
nvm install --lts | |
# check | |
node -v | |
npm -v |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment