Audit / FixEdit

To audit the installation of node packages run:

npm audit

This will probably find errors which can be fixed with:

npm audit fix

When this reports that it can't fix further issues because of breaking the install then try this:

npm outdated

(run to check outdated npm packages)

npx npm-check-updates -u

(run to check updates outdated npm packages)

npm install

(run to update npm packages)

Install a specific version of a packageEdit

npm install package@0.3.1

Install different versions of node.js[1]Edit

npm install -g nave
nave use 0.4.12 # starts a subshell with 0.4.12 at the head of the path
node --version

ReferencesEdit