nodejs换镜像源
时间: 2023-10-04 22:12:45 浏览: 257
要将nodejs的镜像源更改为国内的镜像源,你可以使用nrm工具。首先,你需要安装nrm工具,可以通过以下命令全局安装nrm:npm i nrm -g。接下来,你可以使用nrm ls命令来查看当前可用的镜像源列表。然后,通过nrm use命令来选择要使用的镜像源,比如你可以选择taobao镜像源。这样,你就成功将nodejs的镜像源更改为国内的镜像源了。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [node.js基础入门:更改包镜像源和包结构](https://blog.csdn.net/aiwanchengxu/article/details/123913376)[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%"]
- *2* [安装配置nodejs并创建Vue项目.pdf](https://download.csdn.net/download/shylock08/11435008)[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 ]
阅读全文