Note:11: Difference between revisions

From notes
No edit summary
No edit summary
 
Line 2: Line 2:
|title=Installing npm on debian stretch
|title=Installing npm on debian stretch
}}
}}
sudo apt-get update
sudo apt-get update
  curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
  curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
  sudo apt-cache show nodejs
  sudo apt-cache show nodejs
  sudo apt-get install nodejs=8.11.4-1nodesource1
  sudo apt-get install nodejs=8.11.4-1nodesource1
To also install grunt:
npm install -g grunt-cli

Latest revision as of 06:56, 29 August 2018

Author
Created 29 August 2018 03:31:41
Last Modified 29 August 2018 11:56:57
Tags

sudo apt-get update

curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
sudo apt-cache show nodejs
sudo apt-get install nodejs=8.11.4-1nodesource1

To also install grunt:

npm install -g grunt-cli