当前位置:网站首页>View source and switch mirrors in two ways: npm and nrm
View source and switch mirrors in two ways: npm and nrm
2022-07-31 04:30:00 【Prostitute the leader】
一、使用npm查看当前源、切换淘宝镜像、切换官方源
(1)npm查看当前源:
npm get registry
(2)npm设置淘宝镜像源:
npm config set registry http://registry.npm.taobao.org
(3)npm设置官方源:
npm config set registry http://www.npmjs.org
二、使用nrmView and switch mirrors
1、安装nvm,之后才可以使用nrm命令
Specifically how to install everyone can Baidu
2、通过nrmView and switch mirror sources(命令):nrm ls
注意:下面的 * Indicates when the source is currently in use,
* npm -------- https://registry.npmjs.org/
yarn ------- https://registry.yarnpkg.com/
cnpm ------- http://r.cnpmjs.org/
taobao ----- https://registry.npm.taobao.org/
nj --------- https://registry.nodejitsu.com/
npmMirror -- https://skimdb.npmjs.com/registry/
edunpm ----- http://registry.enpmjs.org/
3、If you want to use a certain one,直接use,For example, I want to use the source of Taobao mirror:
nrm use taobao
The following prompt appears, indicating that the switch is successful!

边栏推荐
- (线段树) 基础线段树常见问题总结
- open failed: EACCES (Permission denied)
- [CV project debugging] CUDNN_CONVOLUTION_FWD_SPECIFY_WORKSPACE_LIMIT problem
- 论治理与创新 | 2022开放原子全球开源峰会OpenAnolis分论坛圆满召开
- 手把手实现图片预览插件(三)
- Two address pools r2 are responsible for managing the address pool r1 is responsible for managing dhcp relays
- 问题7:列表的拼接
- type_traits metaprogramming library learning
- C language confession code?
- (四)递归、可变参数、访问修饰符、理解 main 方法、代码块
猜你喜欢

MySQL数据库必会的增删查改操作(CRUD)

Thinking about data governance after Didi fines

pom文件成橘红色未加载的解决方案

【线性神经网络】softmax回归

XSS靶场(三)prompt to win

Notes on the establishment of the company's official website (6): The public security record of the domain name is carried out and the record number is displayed at the bottom of the web page

高等数学---第九章二重积分

已解决:不小心卸载pip后(手动安装pip的两种方式)

行业落地呈现新进展 | 2022开放原子全球开源峰会OpenAtom OpenHarmony分论坛圆满召开

type_traits元编程库学习
随机推荐
产学研用 共建开源人才生态 | 2022开放原子全球开源峰会教育分论坛圆满召开
Safety 20220709
Can't load /home/Iot/.rnd into RNG
XSS shooting range (3) prompt to win
No qualifying bean of type question
MATLAB/Simulink&&STM32CubeMX工具链完成基于模型的设计开发(MBD)(三)
(5) final, abstract class, interface, inner class
Daily practice of LeetCode - 138. Copy a linked list with random pointers
[C language] General method of base conversion
Postgresql 15 source code analysis (5) - pg_control
MATLAB/Simulink & & STM32CubeMX tool chain completes model-based design development (MBD) (three)
关于出现大量close_wait状态的理解
WPF WPF 】 【 the depth resolution of the template
MySQL模糊查询可以使用INSTR替代LIKE
MySQL修改root账号密码
简易网络文件拷贝的C实现
马斯克对话“虚拟版”马斯克,脑机交互技术离我们有多远
mysql基础知识(二)
"DeepJIT: An End-To-End Deep Learning Framework for Just-In-Time Defect Prediction" paper notes
input输入框展示两位小数之precision