更新全局包命令 npm install -g <package>:
npm install -g <package>
npm install -g jshint
查找过期包
npm outdated -g --depth=0
更新所有全局包
npm update -g