当前位置:网站首页>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
边栏推荐
- Five dimensions to start MySQL optimization
- el-tooltip的使用
- 【蓝桥杯选拔赛真题46】Scratch磁铁游戏 少儿编程scratch蓝桥杯选拔赛真题讲解
- 纸质说明书秒变3D动画,斯坦福大学吴佳俊最新研究,入选ECCV 2022
- [QNX Hypervisor 2.2用户手册]9.14 safety
- 高等数学——常用不定积分公式
- Unity study notes Description of AVPro video jump function (Seeking)
- 三角恒等变换公式
- Why do we need to sub-library and sub-table?
- UnityShader入门学习(三)——Unity的Shader
猜你喜欢
MySQL [subquery]
ADS communicate with c #
Comparison of Optical Motion Capture and UWB Positioning Technology in Multi-agent Cooperative Control Research
MySQL has played to such a degree, no wonder the big manufacturers are rushing to ask for it!
The recently popular domestic interface artifact Apipost experience
MySQL 23道经典面试吊打面试官
Spark学习(2)-Spark环境搭建-Local
拥塞控制,CDN,端到端
英文语法-时与态
机器学习模型验证:被低估的重要一环
随机推荐
我把问烂了的MySQL面试题总结了一下
Sentinel热点参数限流
A detailed guide to simulating latency with SQL/JDBC
Selenium自动化测试之Selenium IDE
Open Inventor 10.12 重大改进--和谐版
Linux bash: redis-server: 未找到命令
拥塞控制,CDN,端到端
Redis与分布式:主从复制
MySQL【子查询】
自制的数据库安全攻防题,相关靶机自己制作
LeetCode·304竞赛·6132·使数组中所有元素都等于零·模拟·哈希
Analysis of the startup source code of hyperf (2) - how the request reaches the controller
Tortoise speed by "template"
Buffer 与 拥塞控制
尚硅谷-JVM-内存和垃圾回收篇(P1~P203)
LeetCode rotate array
Shell脚本经典案例:文件的备份
ERROR: Failed building wheel for osgeo
BigDecimal 简介,常用方法
Why do we need to sub-library and sub-table?