Linux小技巧

时间:2020-04-04 11:59:57   收藏:0   阅读:52

tldr:linux命令查询工具

先得安装nodejs
yum install nodejs
然后npm install -y tldr

1, 修改 下载仓库为淘宝镜像

npm config set registry https://registry.npm.taobao.org --global

npm config set disturl https://npm.taobao.org/dist --global

2, 如果要发布自己的镜像需要修改回来

 ?npm config set registry https://registry.npmjs.org/

3,?安装cnpm

 npm install?-g cnpm?--registry=https://registry.npm.taobao.org

4,查看当前地址

npm config list

原文:https://www.cnblogs.com/python001-vip/p/12630777.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!