适用于非个人电脑、便携使用
npm config set cache D:\nodejs\node_cache npm config set prefix D:\nodejs npm config set registry https://registry.npm.taobao.org/ # https://registry.npmjs.org/