nvm is not compatible with the "PREFIX" environment variable 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