如何使用淘寶 NPM 鏡像,安裝CNPM的方法

npm 版本須要大於 3.0linux

前提:安裝好npmshell

環境:Linuxnpm

直接在linux下輸入命令:markdown

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

這樣就可使用 cnpm 命令來安裝模塊了:app

cnpm install [name]
相關文章
相關標籤/搜索