Boston Linux & UNIX was originally founded in 1994 as part of The Boston Computer Society. We meet on the third Wednesday of each month, online, via Jitsi Meet.

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss] node.js and npm on Debian?



For work I need to mess with node.js, unfortunately.

So I installed node.js:

 ? apt-get install nodejs

But I can't figure out how to install npm. When I search for 
installation instructions they all seem to want me to pipe a curl 
command into a sudo bash. Huh? That's scary as hell.

Why is there no .deb for npm? What is so dangerous or otherwise skanky 
about npm that Debian 9 doesn't include it? Why should I let it have 
root privileges? It isn't as if Javascript has a great security 
reputation. And when they brag: "npm, is the largest ecosystem of open 
source libraries in the world", that doesn't make it sound very well vetted.

-kb, the Kent who might have to fire up a VM to try to isolate this 
beast (if only VMs actually offered much isolation).




BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org