终端经常出现
nvm is not compatible with the npm config "prefix" option: currently set to "/usr/local" Run `nvm use --delete-prefix v5.2.10` to unset it.
请参照 http://www.imooc.com/article/14617
文章有点老了,但讲解很详细,提供了很多常用的场景
这里修正下 nvm的最新安装,请参照
https://github.com/creationix/nvm