HostOnNet Blog

node package manager (npm)

Looking for Linux Server Admin or WordPress Expert? We can help.

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

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.