转自:http://www.runoob.com/nodejs/nodejs-tutorial.html

卸载模块

我们可以使用以下命令来卸载 Node.js 模块。

$ npm uninstall express

卸载后,你可以到 /node_modules/ 目录下查看包是否还存在,或者使用以下命令查看:

$ npm ls

更新模块

我们可以使用以下命令更新模块:

$ npm update express

搜索模块

使用以下来搜索模块:

$ npm search express
posted on 2017-12-15 18:16  Sharpest  阅读(128)  评论(0)    收藏  举报