如下:


npm config set registry https://registry.npm.taobao.org

npm get registry