npm config set registry https://registry.npmjs.org/
时间: 2023-12-12 09:46:51 浏览: 149
npm-registry-couchapp:registry.npmjs.org的couchapp位
你可以使用以下命令将npm的registry源设置为https://registry.npmjs.org/:npm config set registry https://registry.npmjs.org/。这个命令将会把npm的registry源设置为https://registry.npmjs.org/,这是npm自身默认的源。另外,如果你希望将npm的registry源设置为https://registry.npm.taobao.org,你可以使用命令:npm config set registry https://registry.npm.taobao.org。请注意,通过修改npm的registry源,可以改变npm安装包的来源,从而加速安装速度或者解决一些网络问题。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* [设置npm registry的几种方法](https://blog.csdn.net/a460550542/article/details/127685813)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *3* [【NPM使用相关】NPM 源设置](https://blog.csdn.net/ariarko/article/details/124345674)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文