如何使用淘宝 NPM 镜像,安装CNPM的方法

npm 版本须要大于 3.0linux

前提:安装好npmshell

环境:Linuxnpm

直接在linux下输入命令:markdown

npm install -g cnpm --registry=https://registry.npm.taobao.org

这样就可使用 cnpm 命令来安装模块了:app

cnpm install [name]
相关文章
相关标签/搜索