Skip to content

Commit ab8b117

Browse files
committed
删除蓝灯 更新nrm npm与cnpm的区别
1 parent 8c310d0 commit ab8b117

File tree

3 files changed

+40
-31
lines changed

3 files changed

+40
-31
lines changed

nrm/nrm.md

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# nrm
2+
3+
nrm 是一个npm的源管理工具
4+
5+
## 获取
6+
7+
npm install nrm -g
8+
9+
## 使用
10+
11+
### nrm ls
12+
13+
查看所有源
14+
15+
### nrm test
16+
17+
测试各个源的链接延迟
18+
19+
### nrm use
20+
21+
切换到某个源
22+
23+
例如 nrm use cnpm
24+
25+
### nrm current
26+
27+
查看当前使用的源
28+
29+
### nrm help
30+
31+
查看所有nrm命令
32+
33+
34+
### 后记
35+
cnpm 与 npm 的优劣
36+
由于防火长城的存在 使得我们的一些npm包无法通过,导致下载失败,但cnpm使用了vpn(虚拟专用网络)绕开了防火长城 每15分钟会与npm保持同步
37+
cnpm的服务器在国内所以速度比较快
38+
npm 使用官网源 所以可以正常发布npm包
39+
在使用cnpm时使用的不是 npm官网源 所以无法登录npm账号,也就无法发布npm包了。
40+

其他知识/nrm.md

-31
This file was deleted.

蓝灯/lantern-installer.exe

-6.26 MB
Binary file not shown.

0 commit comments

Comments
 (0)