HostOnNet Blog

node package manager (npm)

npm (node package manager) is a package manager for node.js

https://www.npmjs.com

To install npm on Ubuntu/Debian, run

sudo apt install npm

To list all installed packages, run

npm list

To install a package, run

npm install PACKAGE-NAME

To install a package globally, run

sudo npm -g install PACKAGE-NAME

Posted in Ubuntu