npm set registry https://registry.npm.taobao.org 
npm set disturl https://npm.taobao.org/dist npm cache clean --force
sudo npm install -g cnpm --registry=https://registry.npm.taobao.org --verbose
cnpm -v