首页 Node.js Yarn Webpack Rollup Parcel

如果 npm 损坏了

重新安装 npm:

curl -L https://www.npmjs.org/install.sh | sh

如果是 Windows 系统并且以前安装的 npm 损坏了,最简单的方法是从官方下载 node 安装包并重新安装。 (remember this note).

Last modified December 04, 2018           Found a typo? Send a pull request!

快速入门

私有模块

故障排除

npm 用法

命令行

配置 npm

npm 服务

查看单页文档