how to change version of an installed npm package code example Example: how to change version of npm cd ~/.nvm/versions/node/v4.2.2/lib npm install npm