Installing npm on debian stretch

From notes
Revision as of 06:56, 29 August 2018 by Ccicalese (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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