Node.js Package Manager

Prev Next

NPM Installation

The Node.js Package Manager tool (npm) is installed along with Node.js. After installing Node.js, perform the following tasks to ensure that a compatible version of npm is installed on the server.

Refer to the Itential Dependencies page to obtain currently supported versions for all third party software dependencies.

Post Installation

Verify that npm is installed and available from the PATH environment variable. The path will depend on your environment. The path below is provided as an example.

$ command -v npm
/bin/npm

Check which version of npm is installed. Consult the Release Notes for the current supported version.

$ npm -v
<xx.x.x>

If the version of npm installed is not compliant with the release notes, then upgrade npm with the appropriate command for the release version.
 
2023.2

npm i -g npm@<9.xx.x>

 
2023.1

npm i -g npm@<9.xx.x>

 
2022.1

npm i -g npm@<8.xx.x>