sudo apt-get update -y
sudo apt-get install build-essential libssl-dev -y
curl -sL https://deb.nodesource.com/setup_9.x| bash -
apt-get install -y nodejs
curl -sL https://raw.githubusercontent.com/creationix/nvm/v0.32.0/install.sh -o install_nvm.sh
bash install_nvm.sh
source ~/.profile
nvm install 9.4.0
nvm use 9.4.0
nvm alias default 9.4.0
npm = $(which npm)
$npm install express
Created
January 26, 2018 16:35
-
-
Save diegopacheco/ed9799fec05153c7d573e8d39d6afc15 to your computer and use it in GitHub Desktop.
How to install NodeJs, NPM and NVM on Linux Debian 8 - Jessie
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
More on: https://www.digitalocean.com/community/tutorials/how-to-install-node-js-on-debian-8