how to unset npm config prefix /usr/local code example
Example: nvm is not compatible with the npm config "prefix" option: currently set to "/usr/local"
$ npm config delete prefix
$ npm config set prefix $NVM_DIR/versions/node/v6.11.1
$ npm config delete prefix
$ npm config set prefix $NVM_DIR/versions/node/v6.11.1