npm 系列第 2 篇我们选择来介绍一下 :
npm config set [--global]它有什么用呢?
npm config get
npm config delete
npm config list
npm gets its config settings from the command line, environment variables, npmrc files, and in some cases, the package.json file.
我们一般都是来设置 代理 的:
npm config set registry https://registry.npm.taobao.org更多查看:
docs.npmjs.com/cli/config