00172 Node.js 杂项 ubuntu
前言
介绍一些Node.js杂项。
Operating System: Ubuntu 22.04.4 LTS
参考文档
npm镜像源
- 运行以下命令将 npm 的注册表设置为腾讯云的镜像地址:
1 | npm config set registry https://mirrors.cloud.tencent.com/npm/ |
- 为了验证设置是否成功,你可以运行以下命令来查看当前的 npm 注册表地址:
1 | npm config get registry |
镜像源:
官方原始镜像:https://registry.npmjs.org/
淘宝 NPM 镜像:https://registry.npm.taobao.org
阿里云 NPM 镜像:https://npm.aliyun.com
腾讯云 NPM 镜像:https://mirrors.cloud.tencent.com/npm/
华为云 NPM 镜像:https://mirrors.huaweicloud.com/repository/npm/
网易 NPM 镜像:https://mirrors.163.com/npm/
中科院大学开源镜像站:http://mirrors.ustc.edu.cn/
清华大学开源镜像站:https://mirrors.tuna.tsinghua.edu.cn/
结语
第一百七十二篇博文写完,开心!!!!
今天,也是充满希望的一天。
本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自 LuYF-Lemon-love の Blog!