Skip to content

npm

Node.js is a server-side JavaScript run-time environment, while npm is a Node.js package manager.

Version check

npm --version
nodejs --version

Install OS packaged version

Current version on Mint of npm is 3.5.2 and it come with Node.js version v8.10.0.

sudo apt install npm

Install recent release

To upgrade to the most recent release, just use npm

sudo npm install -g npm@next

Find a package