当前位置:网站首页>NPM Taobao mirror (latest version) released a new version of npm mirror at 2021-11-21 16:53:52 [easy to understand]
NPM Taobao mirror (latest version) released a new version of npm mirror at 2021-11-21 16:53:52 [easy to understand]
2022-07-31 14:26:00 【Full stack programmer webmaster】
Hello everyone, meet again, I'm your friend Quanstack Jun.
2021-11-21 16:53:52 npm Taobao mirror change new domain name
The new domain name isTaobao NPM mirror
The new version uses the mirror in the following two ways:
1. You can use our customized cnpm (gzip compression support) command line tool instead of default npm
:
$ npm install -g cnpm --registry=https://registry.npmmirror.com
2. Or you can directly add a new command by adding the npm
parameter alias
:
alias cnpm="npm --registry=https://registry.npmmirror.com \--cache=$HOME/.npm/.cache/cnpm \--disturl=https://npmmirror.com/dist \--userconfig=$HOME/.cnpmrc"# Or alias it in .bashrc or .zshrc$ echo '\n#alias for cnpm\nalias cnpm="npm --registry=https://registry.npmmirror.com \--cache=$HOME/.npm/.cache/cnpm \--disturl=https://npmmirror.com/dist \--userconfig=$HOME/.cnpmrc"' >> ~/.zshrc && source ~/.zshrc
Publisher: Full-stack programmer, please indicate the source: https://javaforall.cn/128460.htmlOriginal link: https://javaforall.cn
边栏推荐
- Description of Hikvision camera streaming RTSP address rules
- Shell script classic case: backup of files
- [QNX Hypervisor 2.2用户手册]9.14 safety
- [Pytorch] F.softmax() method description
- Sentinel流量控制
- Spark学习(3)-Spark环境搭建-Standalone
- 已解决(pymysqL连接数据库报错)pymysqL.err.ProgrammingError: (1146,“Table ‘test.students‘ doesn‘t exist“)
- jOOQ 3.14 released - SQL/XML and SQL/JSON support
- 微服务架构选型
- LeetCode·每日一题·1161.最大层内元素和·层次遍历
猜你喜欢
49. The copy constructor and overloaded 】
MySQL玩到这种程度,难怪大厂抢着要!
ECCV 2022 | Robotic Interaction Perception and Object Manipulation
五个维度着手MySQL的优化
Open Inventor 10.12 Major Improvements - Harmony Edition
Uniapp WeChat small application reference standard components
Linux bash: redis-server: 未找到命令
C# Get network card information NetworkInterface IPInterfaceProperties
OAuth2:微服务权限校验Session共享
【蓝桥杯选拔赛真题46】Scratch磁铁游戏 少儿编程scratch蓝桥杯选拔赛真题讲解
随机推荐
Unity Shader入门精要学习——透明效果
技能大赛训练题: 子网掩码划分案例
MySQL玩到这种程度,难怪大厂抢着要!
新款现代帕里斯帝预售开启,安全、舒适一个不落
技能大赛训练题:ftp 服务攻防与加固
1小时直播招募令:行业大咖干货分享,企业报名开启丨量子位·视点
C语言基础练(九九乘法表)与打印不同星号图案
Redis与分布式:集群搭建
Unity学习笔记 关于AVPro视频跳转功能(Seeking)的说明
49.【拷贝构造函数与重载】
OAuth2:四种授权方式
MySQL【子查询】
MySQL【聚合函数】
Shell项目实战1.系统性能分析
为什么 wireguard-go 高尚而 boringtun 孬种
Numbers that appear only once in LeetCode
jOOQ 3.14 released - SQL/XML and SQL/JSON support
BigDecimal 简介,常用方法
Unity study notes Description of AVPro video jump function (Seeking)
[Pytorch] torch.argmax() usage