天天看點

淘寶鏡像(CNPM)安裝

淘寶鏡像安裝:開始-運作-填寫cmd,Enter鍵确定- 輸入"npm install -g cnpm --registry=https://registry.npm.taobao.org"确定安裝,(前提電腦中安裝好了node.js),然後便可使用cnpm install -g \'name\' 可進行全局安裝。使用cnpm來安裝的友善在于比npm安裝速度更快(相對國内而言)