• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

rangaofei/homebrew-saka: a simple choice install homebrew for local mirrors

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

rangaofei/homebrew-saka

开源软件地址:

https://github.com/rangaofei/homebrew-saka

开源编程语言:

Ruby 100.0%

开源软件介绍:

HomebrewInstall

一个简单的在安装时提供选择源的脚本。

基于官方脚本修改:

1.启动iterm终端,输入以下命令:

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/rangaofei/HomebrewInstall/master/install.rb)"

此时会自动执行脚本,输出以下内容:

 ~/ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/rangaofei/HomebrewInstall/master/install.rb)"
请输入您要选择的源
  0.HomeBrew官方镜像:
    brew: https://github.com/Homebrew/brew
    core: https://github.com/Homebrew/homebrew-core
  1.清华大学镜像:
    brew: https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/brew.git
    core: https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-core.git
  2.中科大镜像:
    brew: https://mirrors.ustc.edu.cn/brew.git
    core: https://mirrors.ustc.edu.cn/homebrew-core.git
-------------请输入0,1,2选择源地址--------------

2.选择对应的源编号,输入对应的数字,即可使用相应的源

0
你选择的是官方镜像

请忽略警告

假如输入的不是0、1、2中的一个数字,则会提示默认选择官方安装 3.官方流程

==> This script will install:
/usr/local/bin/brew
/usr/local/share/doc/homebrew
/usr/local/share/man/man1/brew.1
/usr/local/share/zsh/site-functions/_brew
/usr/local/etc/bash_completion.d/brew
/usr/local/Homebrew

Press RETURN to continue or any other key to abort

点击enter等待安装完成




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap