npm 设置淘宝镜像 安装
时间: 2023-09-24 09:13:30 浏览: 150
要设置淘宝镜像并安装npm包,您可以按照以下步骤进行操作:
1. 打开终端或命令提示符,并输入以下命令以设置国内镜像:
```
npm config set registry https://registry.npm.taobao.org
```
这将把镜像地址切换为淘宝镜像。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [npm配置安装淘宝镜像(全)](https://blog.csdn.net/weixin_47872288/article/details/124787077)[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_2"}}] [.reference_item style="max-width: 50%"]
- *2* [安装配置淘宝镜像npm(cnpm)](https://blog.csdn.net/qq_51644702/article/details/123998785)[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_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文