# 国内镜像命令行下载脚本 **Repository Path**: binote/cn-cli-install-sh ## Basic Information - **Project Name**: 国内镜像命令行下载脚本 - **Description**: No description available - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-04-15 - **Last Updated**: 2025-05-22 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 国内镜像命令行下载脚本 #### 介绍 聚合了几个命令行软件的国内镜像下载脚本,开源使用,可以自行查看下载命令 #### 使用说明 ##### oh-my-zsh oh-my-zsh国内镜像安装脚本 ```bash sh -c "$(curl -fsSL https://gitee.com/binote/cn-cli-install-sh/raw/master/script/install_oh_my_zsh.sh)" ``` ##### HomeBrew 安装国内优化过的HomeBrew脚本 ```bash sh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)" ``` 这个脚本安装的优点:国内大神制作的安装脚本,使用的安装源都是国内的,安装更快,命令行交互式的选择镜像源--`1、中科大下载源 2、清华大学下载源 3、腾讯下载源(不稳定) 4、阿里巴巴下载源(缺少cask源)`,国内超级好用 ##### nvm nvm国内镜像安装脚本 ```bash sh -c "$(curl -fsSL https://gitee.com/binote/cn-cli-install-sh/raw/master/script/install_nvm.sh)" ``` ##### flutter 国内网络环境快速安装flutter sdk的sh脚本 ```bash sh -c "$(curl -fsSL https://gitee.com/binote/cn-cli-install-sh/raw/master/script/install_flutter.sh)" ``` ##### .npmrc npm下载electron等包的源设置 ```.npmrc ELECTRON_MIRROR=https://npmmirror.com/mirrors/electron/ ELECTRON_BUILDER_BINARIES_MIRROR=http://npmmirror.com/mirrors/electron-builder-binaries/ phantomjs_cdnurl=https://npmmirror.com/mirrors/phantomjs/ ```