Node
- 中科大源:https://npmreg.mirrors.ustc.edu.cn
- 淘宝源: https://registry.npmmirror.com
npm config set registry https://registry.npmmirror.com
registry=https://registry.npmmirror.com
npm config set disturl https://npmmirror.com/package/dist
npm config set electron_mirror https://registry.npmmirror.com/electron/
npm config set prefix ~/.node/node_global
npm config set cache ~/.node/node_cache
~/.node/node_global
添加到 PATH
cat ~/.npmrc
registry=https://registry.npmmirror.com
electron_mirror=https://npmmirror.com/mirrors/electron/
disturl=https://npmmirror.com/package/dist
prefix=/home/skiy/.node/node_global
cache=/home/skiy/.node/node_cache