Installing the npm CLI

npm works with npm Enterprise

npm Enterprise is a program called npme that runs on a server or VM and is configured and maintainer by the IT or Ops department at your company.

In order for you and your development teams to use your npm Enterprise instance, you'll need to install the npm Command Line Interface (CLI), npm.

npm ships with Node.js

npm ships with any install of Node.js. If you have Node.js on your machine, you already have npm!

To test if you have Node.js, type:

node -v

To test if you have npm, type:

npm -v

Use a Node.js Version Manager

We strongly recommend that you install Node.js with a version manager. Here are the ones we know of and have used:

OSX or Linux

Windows

Don't see your favorite Node.js version manager here? Please file an issue so we can include it.

Node.js Installers

Although we don't recommend it, you can also install Node.js (which come with npm) via installers.

Node.js Installers

Link: https://nodejs.org/en/download/

NodeSource

Link: https://github.com/nodesource/distributions

NodeSource has created and maintains binary distributions of io.js and Node.js for multiple platforms. If you are on Linux we recommend that you use these.

results matching ""

    No results matching ""