npm cnpm node yarn

1, yarn: need to download the msi file windows,

2, npm, node installation green version

3, cnpm installation: npm install -g CNPM --registry = HTTPS: // Registry .npm .taobao .org (solved npm ERR code:! 'EPERM' issue)

4, the use of domestic and mirroring acceleration npm Yarn
  npm Registry SET config = HTTPS: //registry.npm.taobao.org
  Yarn config SET Registry https://registry.npm.taobao.org

Guess you like

Origin www.cnblogs.com/wenbolwm/p/11956324.html