npm包管理器
安装包
$ cd <path you where you wanna to install>$ npm install <package name>
移除包
$ cd <path you where you wanna to install>$ npm install <package name>
搜索包
$ npm search <package name>
列出包
$ cd <path you where you wanna to list>$ npm ls
更新
$ cd <path you where you wanna to update>$ npm update
全局参数
-g
加在以上命令的最后,执行全局命令
更新npm
$ npm install npm -g