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