How does npm in Node.js install the module through Taobao image?

  node.js, question

If the topic, searches on Baidu, is directly to the code,,, asks the detailed point, thanks!

Npm install cnpm -g first
After that, the npm can be directly replaced by cnpm.