Skip to content

Instantly share code, notes, and snippets.

@diegopacheco
Created January 26, 2018 16:35
Show Gist options
  • Save diegopacheco/ed9799fec05153c7d573e8d39d6afc15 to your computer and use it in GitHub Desktop.
Save diegopacheco/ed9799fec05153c7d573e8d39d6afc15 to your computer and use it in GitHub Desktop.
How to install NodeJs, NPM and NVM on Linux Debian 8 - Jessie
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment