Node: Difference between revisions
From charlesreid1
(→flags) |
|||
| Line 16: | Line 16: | ||
==flags== | ==flags== | ||
[[Category:Node]] | [[Category:Node.js]] | ||
[[Category:Javascript]] | [[Category:Javascript]] | ||
[[Category:Aptitude]] | [[Category:Aptitude]] | ||
Revision as of 12:55, 30 January 2018
installing on debian
From the nodejs docs, how to install on debian: https://nodejs.org/en/download/package-manager/#debian-and-ubuntu-based-linux-distributions
curl -sL https://deb.nodesource.com/setup_9.x | sudo -E bash - sudo apt-get install -y nodejs
no npm binary found
If no npm binary is found after running apt-get install nodejs, you probably aren't using the latest up-to-date nodejs package. The curl command above is necessary to update which version of nodejs aptitude is trying to install.