downgrade version to specified in package.json code example Example: downgrade npm package to specific version npm install -g npm@version-no