美文网首页
nvm npm n 2024 最新阿里源镜像

nvm npm n 2024 最新阿里源镜像

作者: 率性的人字拖 | 来源:发表于2024-01-21 15:23 被阅读0次

electron 阿里镜像

npm config set ELECTRON_MIRROR https://registry.npmmirror.com/-/binary/electron/

nvm 使用阿里镜像

export NVM_NODEJS_ORG_MIRROR=https://npmmirror.com/mirrors/node/

n 使用阿里镜像

export N_NODE_MIRROR=https://npmmirror.com/mirrors/node/

npm使用阿里源

npm i [package-name] --registry=https://registry.npmmirror.com

npm config set registry https://registry.npmmirror.com

yarn config set registry https://registry.npmmirror.com

yarn config delete registry

# 设置阿里镜像源(加速)

npm config set registry=https://registry.npmmirror.com

npm config set disturl=https://registry.npmmirror.com/-/binary/node

#如果下载electron慢,配置如下npm config set electron_mirror=https://registry.npmmirror.com/-/binary/electron/

参考自:

https://wolffn.github.io/docs/tools/shell/npm/

https://www.kaka996.com/pages/e64ff6/

相关文章

  • cnpm镜像地址设置

    cnpm 安装cnpm 修改cnpm镜像源 查看cnpm当前镜像源 卸载cnpm npm 修改npm镜像源 查看n...

  • Ubuntu16.04安装最新版nodejs

    安装最新版nodejs 更新ubuntu软件源 安装nodejs 更新npm的包镜像源,方便快速下载 全局安装n管...

  • node 环境部署

    多版本管理nvm 国内镜像 nvm npm_mirrorhttps://registry.npm.taobao.o...

  • 安装vue-cli 3.

    安装node.js,查看版本node -v 修改npm为阿里的镜像源 npm install cnpm -g --...

  • vue环境安装

    更新Ubuntu软件源 安装node.js、npm 更新npm包镜像源 全局安装n管理器,用于管理nodejs版本...

  • 常用镜像源

    pip镜像源 npm镜像源

  • 更换npm的源(默认镜像)

    如何更换npm的默认镜像如何更换npm的源下文内容:更换npm仓库 为 阿里云 场景: 1、闯将react项目时候...

  • nvm nrm 常用命令

    nvm nrm nrm是npm源管理工具,可以添加自定义的npm源和切换npm源

  • NPM基础

    NPM? Install Node & NPM Node Version Control n / nvm / nv...

  • 搭建小程序开发环境

    npm慢的话,可安装nrm切换镜像源。nrm是npm的镜像源管理工具,可在 npm 源间切换npm install...

网友评论

      本文标题:nvm npm n 2024 最新阿里源镜像

      本文链接:https://www.haomeiwen.com/subject/mbyeodtx.html