//To install a specific version of npm locally for your project
$ npm install npm@version //replace version with the npm version you want to install
//To install globally
$ npm install -g npm@version //replace version with the npm version you want to install