0


Mac初始化-安装brew

meiwattdeMacBook-Pro:~ meiwatt$ /bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)"

git version 2.10.1 (Apple Git-78)

           开始执行Homebrew自动安装程序 

         [[email protected]] 

      ['2024-08-11 10:27:11']['10.11']

   https://zhuanlan.zhihu.com/p/111014448 

请选择下列一个 数字编号 后回车

(这里只是下载brew,随意选。国内下载源有5种稍后让你选择配置)

1、通过清华大学下载brew

2、通过Gitee下载brew

3、!我已经安装brew,跳过克隆,直接带我去配置国内下载源

4、不克隆brew,只把仓库地址设置成Gitee

5、不克隆brew,只把仓库地址设置成清华大学

请输入序号: 1

你选择了清华大学brew本体下载源

Mac os设置开机密码方法:

(设置开机密码:在左上角苹果图标->系统偏好设置->用户与群组->更改密码)

(如果提示This incident will be reported. 在用户与群组中查看是否管理员) 

请输入开机密码,输入过程不显示,输入完后回车

WARNING: Improper use of the sudo command could lead to data loss

or the deletion of important system files. Please double-check your

typing when using sudo. Type "man sudo" for more information.

To proceed, enter your password, or type Ctrl-C to abort.

Password:

已获取权限

==> 安装过程开始调用Brew官方安装脚本,提示会变成英文,看不懂的复制到在线翻译。

如果下载速度慢可以ctrl+c或control+c重新运行脚本选择下载源

-> !!!!是否删除之前本机安装的Brew(是Y 否N) 我没有检测本机是否安装brew,选哪个都会继续运行

(Y/N): y

--> 脚本开始执行

未发现Git代理(属于正常状态)

          开始  进入brew官方安装脚本  开始

下载官方install.sh文件,当前目录是: /Users/meiwatt

Cloning into 'brew-install-ck'...

fatal: unable to access 'https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/install.git/': SSL certificate problem: Invalid certificate chain

sed: brew-install-ck/install.sh: No such file or directory

sed: brew-install-ck/install.sh: No such file or directory

sed: brew-install-ck/install.sh: No such file or directory

sed: brew-install-ck/install.sh: No such file or directory

/bin/bash: brew-install-ck/install.sh: No such file or directory

此步骤失败 '调用官方安装失败请查看上方报错信息'

meiwattdeMacBook-Pro:~ meiwatt$ /bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)"

git version 2.10.1 (Apple Git-78)

           开始执行Homebrew自动安装程序 

         [[email protected]] 

      ['2024-08-11 10:27:55']['10.11']

   https://zhuanlan.zhihu.com/p/111014448 

请选择下列一个 数字编号 后回车

(这里只是下载brew,随意选。国内下载源有5种稍后让你选择配置)

1、通过清华大学下载brew

2、通过Gitee下载brew

3、!我已经安装brew,跳过克隆,直接带我去配置国内下载源

4、不克隆brew,只把仓库地址设置成Gitee

5、不克隆brew,只把仓库地址设置成清华大学

请输入序号: 2

你选择了Gitee brew本体下载源

Mac os设置开机密码方法:

(设置开机密码:在左上角苹果图标->系统偏好设置->用户与群组->更改密码)

(如果提示This incident will be reported. 在用户与群组中查看是否管理员) 

请输入开机密码,输入过程不显示,输入完后回车

已获取权限

==> 安装过程开始调用Brew官方安装脚本,提示会变成英文,看不懂的复制到在线翻译。

如果下载速度慢可以ctrl+c或control+c重新运行脚本选择下载源

-> !!!!是否删除之前本机安装的Brew(是Y 否N) 我没有检测本机是否安装brew,选哪个都会继续运行

(Y/N): y

--> 脚本开始执行

未发现Git代理(属于正常状态)

          开始  进入brew官方安装脚本  开始

下载官方install.sh文件,当前目录是: /Users/meiwatt

Cloning into 'brew-install-ck'...

remote: Enumerating objects: 18, done.

remote: Counting objects: 100% (18/18), done.

remote: Compressing objects: 100% (16/16), done.

remote: Total 18 (delta 0), reused 4 (delta 0), pack-reused 0

Unpacking objects: 100% (18/18), done.

==>** Checking for sudo access (which may request your password)...**

==>** You are using macOS 10.11.**

==>** We (and Apple) do not provide support for this old version.**

This installation may not succeed.

After installation, you will encounter build failures with some formulae.

Please create pull requests instead of asking for help on Homebrew's GitHub,

Twitter or any other official channels. You are responsible for resolving any

issues you experience while you are running this old version.

==>** 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

==>** The following new directories will be created:**

/usr/local/bin

/usr/local/etc

/usr/local/include

/usr/local/lib

/usr/local/sbin

/usr/local/share

/usr/local/var

/usr/local/opt

/usr/local/share/zsh

/usr/local/share/zsh/site-functions

/usr/local/var/homebrew

/usr/local/var/homebrew/linked

/usr/local/Cellar

/usr/local/Caskroom

/usr/local/Frameworks

Press RETURN/ENTER****现在是brew官方安装提示,它需要你按回车键开始 other key to abort:

==>** /usr/bin/sudo /bin/mkdir -p /usr/local/bin /usr/local/etc /usr/local/include /usr/local/lib /usr/local/sbin /usr/local/share /usr/local/var /usr/local/opt /usr/local/share/zsh /usr/local/share/zsh/site-functions /usr/local/var/homebrew /usr/local/var/homebrew/linked /usr/local/Cellar /usr/local/Caskroom /usr/local/Frameworks**

==>** /usr/bin/sudo /bin/chmod ug=rwx /usr/local/bin /usr/local/etc /usr/local/include /usr/local/lib /usr/local/sbin /usr/local/share /usr/local/var /usr/local/opt /usr/local/share/zsh /usr/local/share/zsh/site-functions /usr/local/var/homebrew /usr/local/var/homebrew/linked /usr/local/Cellar /usr/local/Caskroom /usr/local/Frameworks**

==>** /usr/bin/sudo /bin/chmod go-w /usr/local/share/zsh /usr/local/share/zsh/site-functions**

==>** /usr/bin/sudo /usr/sbin/chown meiwatt /usr/local/bin /usr/local/etc /usr/local/include /usr/local/lib /usr/local/sbin /usr/local/share /usr/local/var /usr/local/opt /usr/local/share/zsh /usr/local/share/zsh/site-functions /usr/local/var/homebrew /usr/local/var/homebrew/linked /usr/local/Cellar /usr/local/Caskroom /usr/local/Frameworks**

==>** /usr/bin/sudo /usr/bin/chgrp admin /usr/local/bin /usr/local/etc /usr/local/include /usr/local/lib /usr/local/sbin /usr/local/share /usr/local/var /usr/local/opt /usr/local/share/zsh /usr/local/share/zsh/site-functions /usr/local/var/homebrew /usr/local/var/homebrew/linked /usr/local/Cellar /usr/local/Caskroom /usr/local/Frameworks**

==>** /usr/bin/sudo /bin/mkdir -p /usr/local/Homebrew**

==>** /usr/bin/sudo /usr/sbin/chown -R meiwatt:admin /usr/local/Homebrew**

==>** /usr/bin/sudo /bin/mkdir -p /Users/meiwatt/Library/Caches/Homebrew**

==>** /usr/bin/sudo /bin/chmod g+rwx /Users/meiwatt/Library/Caches/Homebrew**

==>** /usr/bin/sudo /usr/sbin/chown -R meiwatt /Users/meiwatt/Library/Caches/Homebrew**

==>** Downloading and installing Homebrew...**

remote: Enumerating objects: 277204, done.

remote: Counting objects: 100% (277204/277204), done.

remote: Compressing objects: 100% (83707/83707), done.

remote: Total 277204 (delta 201269), reused 257210 (delta 185714), pack-reused

Receiving objects: 100% (277204/277204), 81.41 MiB | 3.22 MiB/s, done.

Resolving deltas: 100% (201269/201269), done.

From https://gitee.com/Homebrew2/brew

  • [new branch] SMillerDev-patch-1 -> origin/SMillerDev-patch-1

  • [new branch] cleaner-factory -> origin/cleaner-factory

  • [new branch] dependabot/bundler/Library/Homebrew/rubocop-1.65.1 -> origin/dependabot/bundler/Library/Homebrew/rubocop-1.65.1

  • [new branch] depends-on-order-cop-blank-lines -> origin/depends-on-order-cop-blank-lines

  • [new branch] deprecate-old-style-cmds -> origin/deprecate-old-style-cmds

  • [new branch] info-analytics-timeout -> origin/info-analytics-timeout

  • [new branch] install-network-block -> origin/install-network-block

  • [new branch] load-installed-casks -> origin/load-installed-casks

  • [new branch] load-internal-cask-json-v3 -> origin/load-internal-cask-json-v3

  • [new branch] master -> origin/master

  • [new branch] tmpdir-sandbox -> origin/tmpdir-sandbox

  • [new branch] use-cask-tab-to-better-identify-installed-casks -> origin/use-cask-tab-to-better-identify-installed-casks

  • [new branch] ww/gh-too-old -> origin/ww/gh-too-old

  • [new tag] 0.1 -> 0.1

  • [new tag] 0.2 -> 0.2

  • [new tag] 0.3 -> 0.3

  • [new tag] 0.4 -> 0.4

  • [new tag] 0.5 -> 0.5

  • [new tag] 0.6 -> 0.6

  • [new tag] 0.7 -> 0.7

  • [new tag] 0.7.1 -> 0.7.1

  • [new tag] 0.8 -> 0.8

  • [new tag] 0.8.1 -> 0.8.1

  • [new tag] 0.9 -> 0.9

  • [new tag] 0.9.1 -> 0.9.1

  • [new tag] 0.9.2 -> 0.9.2

  • [new tag] 0.9.3 -> 0.9.3

  • [new tag] 0.9.4 -> 0.9.4

  • [new tag] 0.9.5 -> 0.9.5

  • [new tag] 0.9.8 -> 0.9.8

  • [new tag] 0.9.9 -> 0.9.9

  • [new tag] 1.0.0 -> 1.0.0

  • [new tag] 1.0.1 -> 1.0.1

  • [new tag] 1.0.2 -> 1.0.2

  • [new tag] 1.0.3 -> 1.0.3

  • [new tag] 1.0.4 -> 1.0.4

  • [new tag] 1.0.5 -> 1.0.5

  • [new tag] 1.0.6 -> 1.0.6

  • [new tag] 1.0.7 -> 1.0.7

  • [new tag] 1.0.8 -> 1.0.8

  • [new tag] 1.0.9 -> 1.0.9

  • [new tag] 1.1.0 -> 1.1.0

  • [new tag] 1.1.1 -> 1.1.1

  • [new tag] 1.1.10 -> 1.1.10

  • [new tag] 1.1.11 -> 1.1.11

  • [new tag] 1.1.12 -> 1.1.12

  • [new tag] 1.1.13 -> 1.1.13

  • [new tag] 1.1.2 -> 1.1.2

  • [new tag] 1.1.3 -> 1.1.3

  • [new tag] 1.1.4 -> 1.1.4

  • [new tag] 1.1.5 -> 1.1.5

  • [new tag] 1.1.6 -> 1.1.6

  • [new tag] 1.1.7 -> 1.1.7

  • [new tag] 1.1.8 -> 1.1.8

  • [new tag] 1.1.9 -> 1.1.9

  • [new tag] 1.2.0 -> 1.2.0

  • [new tag] 1.2.1 -> 1.2.1

  • [new tag] 1.2.2 -> 1.2.2

  • [new tag] 1.2.3 -> 1.2.3

  • [new tag] 1.2.4 -> 1.2.4

  • [new tag] 1.2.5 -> 1.2.5

  • [new tag] 1.2.6 -> 1.2.6

  • [new tag] 1.3.0 -> 1.3.0

  • [new tag] 1.3.1 -> 1.3.1

  • [new tag] 1.3.2 -> 1.3.2

  • [new tag] 1.3.3 -> 1.3.3

  • [new tag] 1.3.4 -> 1.3.4

  • [new tag] 1.3.5 -> 1.3.5

  • [new tag] 1.3.6 -> 1.3.6

  • [new tag] 1.3.7 -> 1.3.7

  • [new tag] 1.3.8 -> 1.3.8

  • [new tag] 1.3.9 -> 1.3.9

  • [new tag] 1.4.0 -> 1.4.0

  • [new tag] 1.4.1 -> 1.4.1

  • [new tag] 1.4.2 -> 1.4.2

  • [new tag] 1.4.3 -> 1.4.3

  • [new tag] 1.5.0 -> 1.5.0

  • [new tag] 1.5.1 -> 1.5.1

  • [new tag] 1.5.10 -> 1.5.10

  • [new tag] 1.5.11 -> 1.5.11

  • [new tag] 1.5.12 -> 1.5.12

  • [new tag] 1.5.13 -> 1.5.13

  • [new tag] 1.5.14 -> 1.5.14

  • [new tag] 1.5.2 -> 1.5.2

  • [new tag] 1.5.3 -> 1.5.3

  • [new tag] 1.5.4 -> 1.5.4

  • [new tag] 1.5.5 -> 1.5.5

  • [new tag] 1.5.6 -> 1.5.6

  • [new tag] 1.5.7 -> 1.5.7

  • [new tag] 1.5.8 -> 1.5.8

  • [new tag] 1.5.9 -> 1.5.9

  • [new tag] 1.6.0 -> 1.6.0

  • [new tag] 1.6.1 -> 1.6.1

  • [new tag] 1.6.10 -> 1.6.10

  • [new tag] 1.6.11 -> 1.6.11

  • [new tag] 1.6.12 -> 1.6.12

  • [new tag] 1.6.13 -> 1.6.13

  • [new tag] 1.6.14 -> 1.6.14

  • [new tag] 1.6.15 -> 1.6.15

  • [new tag] 1.6.16 -> 1.6.16

  • [new tag] 1.6.17 -> 1.6.17

  • [new tag] 1.6.2 -> 1.6.2

  • [new tag] 1.6.3 -> 1.6.3

  • [new tag] 1.6.4 -> 1.6.4

  • [new tag] 1.6.5 -> 1.6.5

  • [new tag] 1.6.6 -> 1.6.6

  • [new tag] 1.6.7 -> 1.6.7

  • [new tag] 1.6.8 -> 1.6.8

  • [new tag] 1.6.9 -> 1.6.9

  • [new tag] 1.7.0 -> 1.7.0

  • [new tag] 1.7.1 -> 1.7.1

  • [new tag] 1.7.2 -> 1.7.2

  • [new tag] 1.7.3 -> 1.7.3

  • [new tag] 1.7.4 -> 1.7.4

  • [new tag] 1.7.5 -> 1.7.5

  • [new tag] 1.7.6 -> 1.7.6

  • [new tag] 1.7.7 -> 1.7.7

  • [new tag] 1.8.0 -> 1.8.0

  • [new tag] 1.8.1 -> 1.8.1

  • [new tag] 1.8.2 -> 1.8.2

  • [new tag] 1.8.3 -> 1.8.3

  • [new tag] 1.8.4 -> 1.8.4

  • [new tag] 1.8.5 -> 1.8.5

  • [new tag] 1.8.6 -> 1.8.6

  • [new tag] 1.9.0 -> 1.9.0

  • [new tag] 1.9.1 -> 1.9.1

  • [new tag] 1.9.2 -> 1.9.2

  • [new tag] 1.9.3 -> 1.9.3

  • [new tag] 2.0.0 -> 2.0.0

  • [new tag] 2.0.1 -> 2.0.1

  • [new tag] 2.0.2 -> 2.0.2

  • [new tag] 2.0.3 -> 2.0.3

  • [new tag] 2.0.4 -> 2.0.4

  • [new tag] 2.0.5 -> 2.0.5

  • [new tag] 2.0.6 -> 2.0.6

  • [new tag] 2.1.0 -> 2.1.0

  • [new tag] 2.1.1 -> 2.1.1

  • [new tag] 2.1.10 -> 2.1.10

  • [new tag] 2.1.11 -> 2.1.11

  • [new tag] 2.1.12 -> 2.1.12

  • [new tag] 2.1.13 -> 2.1.13

  • [new tag] 2.1.14 -> 2.1.14

  • [new tag] 2.1.15 -> 2.1.15

  • [new tag] 2.1.16 -> 2.1.16

  • [new tag] 2.1.2 -> 2.1.2

  • [new tag] 2.1.3 -> 2.1.3

  • [new tag] 2.1.4 -> 2.1.4

  • [new tag] 2.1.5 -> 2.1.5

  • [new tag] 2.1.6 -> 2.1.6

  • [new tag] 2.1.7 -> 2.1.7

  • [new tag] 2.1.8 -> 2.1.8

  • [new tag] 2.1.9 -> 2.1.9

  • [new tag] 2.2.0 -> 2.2.0

  • [new tag] 2.2.1 -> 2.2.1

  • [new tag] 2.2.10 -> 2.2.10

  • [new tag] 2.2.11 -> 2.2.11

  • [new tag] 2.2.12 -> 2.2.12

  • [new tag] 2.2.13 -> 2.2.13

  • [new tag] 2.2.14 -> 2.2.14

  • [new tag] 2.2.15 -> 2.2.15

  • [new tag] 2.2.16 -> 2.2.16

  • [new tag] 2.2.17 -> 2.2.17

  • [new tag] 2.2.2 -> 2.2.2

  • [new tag] 2.2.3 -> 2.2.3

  • [new tag] 2.2.4 -> 2.2.4

  • [new tag] 2.2.5 -> 2.2.5

  • [new tag] 2.2.6 -> 2.2.6

  • [new tag] 2.2.7 -> 2.2.7

  • [new tag] 2.2.8 -> 2.2.8

  • [new tag] 2.2.9 -> 2.2.9

  • [new tag] 2.3.0 -> 2.3.0

  • [new tag] 2.4.0 -> 2.4.0

  • [new tag] 2.4.1 -> 2.4.1

  • [new tag] 2.4.10 -> 2.4.10

  • [new tag] 2.4.11 -> 2.4.11

  • [new tag] 2.4.12 -> 2.4.12

  • [new tag] 2.4.13 -> 2.4.13

  • [new tag] 2.4.14 -> 2.4.14

  • [new tag] 2.4.15 -> 2.4.15

  • [new tag] 2.4.16 -> 2.4.16

  • [new tag] 2.4.2 -> 2.4.2

  • [new tag] 2.4.3 -> 2.4.3

  • [new tag] 2.4.4 -> 2.4.4

  • [new tag] 2.4.5 -> 2.4.5

  • [new tag] 2.4.6 -> 2.4.6

  • [new tag] 2.4.7 -> 2.4.7

  • [new tag] 2.4.8 -> 2.4.8

  • [new tag] 2.4.9 -> 2.4.9

  • [new tag] 2.5.0 -> 2.5.0

  • [new tag] 2.5.1 -> 2.5.1

  • [new tag] 2.5.10 -> 2.5.10

  • [new tag] 2.5.11 -> 2.5.11

  • [new tag] 2.5.12 -> 2.5.12

  • [new tag] 2.5.2 -> 2.5.2

  • [new tag] 2.5.3 -> 2.5.3

  • [new tag] 2.5.4 -> 2.5.4

  • [new tag] 2.5.5 -> 2.5.5

  • [new tag] 2.5.6 -> 2.5.6

  • [new tag] 2.5.7 -> 2.5.7

  • [new tag] 2.5.8 -> 2.5.8

  • [new tag] 2.5.9 -> 2.5.9

  • [new tag] 2.6.0 -> 2.6.0

  • [new tag] 2.6.1 -> 2.6.1

  • [new tag] 2.6.2 -> 2.6.2

  • [new tag] 2.7.0 -> 2.7.0

  • [new tag] 2.7.1 -> 2.7.1

  • [new tag] 2.7.2 -> 2.7.2

  • [new tag] 2.7.3 -> 2.7.3

  • [new tag] 2.7.4 -> 2.7.4

  • [new tag] 2.7.5 -> 2.7.5

  • [new tag] 2.7.6 -> 2.7.6

  • [new tag] 2.7.7 -> 2.7.7

  • [new tag] 3.0.0 -> 3.0.0

  • [new tag] 3.0.1 -> 3.0.1

  • [new tag] 3.0.10 -> 3.0.10

  • [new tag] 3.0.11 -> 3.0.11

  • [new tag] 3.0.2 -> 3.0.2

  • [new tag] 3.0.3 -> 3.0.3

  • [new tag] 3.0.4 -> 3.0.4

  • [new tag] 3.0.5 -> 3.0.5

  • [new tag] 3.0.6 -> 3.0.6

  • [new tag] 3.0.7 -> 3.0.7

  • [new tag] 3.0.8 -> 3.0.8

  • [new tag] 3.0.9 -> 3.0.9

  • [new tag] 3.1.0 -> 3.1.0

  • [new tag] 3.1.1 -> 3.1.1

  • [new tag] 3.1.10 -> 3.1.10

  • [new tag] 3.1.11 -> 3.1.11

  • [new tag] 3.1.12 -> 3.1.12

  • [new tag] 3.1.2 -> 3.1.2

  • [new tag] 3.1.3 -> 3.1.3

  • [new tag] 3.1.4 -> 3.1.4

  • [new tag] 3.1.5 -> 3.1.5

  • [new tag] 3.1.6 -> 3.1.6

  • [new tag] 3.1.7 -> 3.1.7

  • [new tag] 3.1.8 -> 3.1.8

  • [new tag] 3.1.9 -> 3.1.9

  • [new tag] 3.2.0 -> 3.2.0

  • [new tag] 3.2.1 -> 3.2.1

  • [new tag] 3.2.10 -> 3.2.10

  • [new tag] 3.2.11 -> 3.2.11

  • [new tag] 3.2.12 -> 3.2.12

  • [new tag] 3.2.13 -> 3.2.13

  • [new tag] 3.2.14 -> 3.2.14

  • [new tag] 3.2.15 -> 3.2.15

  • [new tag] 3.2.16 -> 3.2.16

  • [new tag] 3.2.17 -> 3.2.17

  • [new tag] 3.2.2 -> 3.2.2

  • [new tag] 3.2.3 -> 3.2.3

  • [new tag] 3.2.4 -> 3.2.4

  • [new tag] 3.2.5 -> 3.2.5

  • [new tag] 3.2.6 -> 3.2.6

  • [new tag] 3.2.7 -> 3.2.7

  • [new tag] 3.2.8 -> 3.2.8

  • [new tag] 3.2.9 -> 3.2.9

  • [new tag] 3.3.0 -> 3.3.0

  • [new tag] 3.3.1 -> 3.3.1

  • [new tag] 3.3.10 -> 3.3.10

  • [new tag] 3.3.11 -> 3.3.11

  • [new tag] 3.3.12 -> 3.3.12

  • [new tag] 3.3.13 -> 3.3.13

  • [new tag] 3.3.14 -> 3.3.14

  • [new tag] 3.3.15 -> 3.3.15

  • [new tag] 3.3.16 -> 3.3.16

  • [new tag] 3.3.2 -> 3.3.2

  • [new tag] 3.3.3 -> 3.3.3

  • [new tag] 3.3.4 -> 3.3.4

  • [new tag] 3.3.5 -> 3.3.5

  • [new tag] 3.3.6 -> 3.3.6

  • [new tag] 3.3.7 -> 3.3.7

  • [new tag] 3.3.8 -> 3.3.8

  • [new tag] 3.3.9 -> 3.3.9

  • [new tag] 3.4.0 -> 3.4.0

  • [new tag] 3.4.1 -> 3.4.1

  • [new tag] 3.4.10 -> 3.4.10

  • [new tag] 3.4.11 -> 3.4.11

  • [new tag] 3.4.2 -> 3.4.2

  • [new tag] 3.4.3 -> 3.4.3

  • [new tag] 3.4.4 -> 3.4.4

  • [new tag] 3.4.5 -> 3.4.5

  • [new tag] 3.4.6 -> 3.4.6

  • [new tag] 3.4.7 -> 3.4.7

  • [new tag] 3.4.8 -> 3.4.8

  • [new tag] 3.4.9 -> 3.4.9

  • [new tag] 3.5.0 -> 3.5.0

  • [new tag] 3.5.1 -> 3.5.1

  • [new tag] 3.5.10 -> 3.5.10

  • [new tag] 3.5.2 -> 3.5.2

  • [new tag] 3.5.3 -> 3.5.3

  • [new tag] 3.5.4 -> 3.5.4

  • [new tag] 3.5.5 -> 3.5.5

  • [new tag] 3.5.6 -> 3.5.6

  • [new tag] 3.5.7 -> 3.5.7

  • [new tag] 3.5.8 -> 3.5.8

  • [new tag] 3.5.9 -> 3.5.9

  • [new tag] 3.6.0 -> 3.6.0

  • [new tag] 3.6.1 -> 3.6.1

  • [new tag] 3.6.10 -> 3.6.10

  • [new tag] 3.6.11 -> 3.6.11

  • [new tag] 3.6.12 -> 3.6.12

  • [new tag] 3.6.13 -> 3.6.13

  • [new tag] 3.6.14 -> 3.6.14

  • [new tag] 3.6.15 -> 3.6.15

  • [new tag] 3.6.16 -> 3.6.16

  • [new tag] 3.6.17 -> 3.6.17

  • [new tag] 3.6.18 -> 3.6.18

  • [new tag] 3.6.19 -> 3.6.19

  • [new tag] 3.6.2 -> 3.6.2

  • [new tag] 3.6.20 -> 3.6.20

  • [new tag] 3.6.21 -> 3.6.21

  • [new tag] 3.6.3 -> 3.6.3

  • [new tag] 3.6.4 -> 3.6.4

  • [new tag] 3.6.5 -> 3.6.5

  • [new tag] 3.6.6 -> 3.6.6

  • [new tag] 3.6.7 -> 3.6.7

  • [new tag] 3.6.8 -> 3.6.8

  • [new tag] 3.6.9 -> 3.6.9

  • [new tag] 4.0.0 -> 4.0.0

  • [new tag] 4.0.1 -> 4.0.1

  • [new tag] 4.0.10 -> 4.0.10

  • [new tag] 4.0.11 -> 4.0.11

  • [new tag] 4.0.12 -> 4.0.12

  • [new tag] 4.0.13 -> 4.0.13

  • [new tag] 4.0.14 -> 4.0.14

  • [new tag] 4.0.15 -> 4.0.15

  • [new tag] 4.0.16 -> 4.0.16

  • [new tag] 4.0.17 -> 4.0.17

  • [new tag] 4.0.18 -> 4.0.18

  • [new tag] 4.0.19 -> 4.0.19

  • [new tag] 4.0.2 -> 4.0.2

  • [new tag] 4.0.20 -> 4.0.20

  • [new tag] 4.0.21 -> 4.0.21

  • [new tag] 4.0.22 -> 4.0.22

  • [new tag] 4.0.23 -> 4.0.23

  • [new tag] 4.0.24 -> 4.0.24

  • [new tag] 4.0.25 -> 4.0.25

  • [new tag] 4.0.26 -> 4.0.26

  • [new tag] 4.0.27 -> 4.0.27

  • [new tag] 4.0.28 -> 4.0.28

  • [new tag] 4.0.3 -> 4.0.3

  • [new tag] 4.0.4 -> 4.0.4

  • [new tag] 4.0.5 -> 4.0.5

  • [new tag] 4.0.6 -> 4.0.6

  • [new tag] 4.0.7 -> 4.0.7

  • [new tag] 4.0.8 -> 4.0.8

  • [new tag] 4.0.9 -> 4.0.9

  • [new tag] 4.1.0 -> 4.1.0

  • [new tag] 4.1.1 -> 4.1.1

  • [new tag] 4.1.10 -> 4.1.10

  • [new tag] 4.1.11 -> 4.1.11

  • [new tag] 4.1.12 -> 4.1.12

  • [new tag] 4.1.13 -> 4.1.13

  • [new tag] 4.1.14 -> 4.1.14

  • [new tag] 4.1.15 -> 4.1.15

  • [new tag] 4.1.16 -> 4.1.16

  • [new tag] 4.1.17 -> 4.1.17

  • [new tag] 4.1.18 -> 4.1.18

  • [new tag] 4.1.19 -> 4.1.19

  • [new tag] 4.1.2 -> 4.1.2

  • [new tag] 4.1.20 -> 4.1.20

  • [new tag] 4.1.21 -> 4.1.21

  • [new tag] 4.1.22 -> 4.1.22

  • [new tag] 4.1.23 -> 4.1.23

  • [new tag] 4.1.24 -> 4.1.24

  • [new tag] 4.1.25 -> 4.1.25

  • [new tag] 4.1.3 -> 4.1.3

  • [new tag] 4.1.4 -> 4.1.4

  • [new tag] 4.1.5 -> 4.1.5

  • [new tag] 4.1.6 -> 4.1.6

  • [new tag] 4.1.7 -> 4.1.7

  • [new tag] 4.1.8 -> 4.1.8

  • [new tag] 4.2.0 -> 4.2.0

  • [new tag] 4.2.1 -> 4.2.1

  • [new tag] 4.2.10 -> 4.2.10

  • [new tag] 4.2.11 -> 4.2.11

  • [new tag] 4.2.12 -> 4.2.12

  • [new tag] 4.2.13 -> 4.2.13

  • [new tag] 4.2.15 -> 4.2.15

  • [new tag] 4.2.16 -> 4.2.16

  • [new tag] 4.2.17 -> 4.2.17

  • [new tag] 4.2.18 -> 4.2.18

  • [new tag] 4.2.19 -> 4.2.19

  • [new tag] 4.2.2 -> 4.2.2

  • [new tag] 4.2.20 -> 4.2.20

  • [new tag] 4.2.21 -> 4.2.21

  • [new tag] 4.2.3 -> 4.2.3

  • [new tag] 4.2.4 -> 4.2.4

  • [new tag] 4.2.5 -> 4.2.5

  • [new tag] 4.2.6 -> 4.2.6

  • [new tag] 4.2.7 -> 4.2.7

  • [new tag] 4.2.8 -> 4.2.8

  • [new tag] 4.2.9 -> 4.2.9

  • [new tag] 4.3.0 -> 4.3.0

  • [new tag] 4.3.1 -> 4.3.1

  • [new tag] 4.3.11 -> 4.3.11

  • [new tag] 4.3.12 -> 4.3.12

  • [new tag] 4.3.13 -> 4.3.13

  • [new tag] 4.3.14 -> 4.3.14

  • [new tag] 4.3.2 -> 4.3.2

  • [new tag] 4.3.3 -> 4.3.3

  • [new tag] 4.3.4 -> 4.3.4

  • [new tag] 4.3.5 -> 4.3.5

  • [new tag] 4.3.6 -> 4.3.6

  • [new tag] 4.3.7 -> 4.3.7

  • [new tag] 4.3.8 -> 4.3.8

  • [new tag] 4.3.9 -> 4.3.9

remote: Enumerating objects: 206, done.

remote: Counting objects: 100% (196/196), done.

remote: Compressing objects: 100% (34/34), done.

remote: Total 86 (delta 63), reused 74 (delta 52), pack-reused 0

Unpacking objects: 100% (86/86), done.

From https://gitee.com/Homebrew2/brew

  • [new tag] 4.0.29 -> 4.0.29

  • [new tag] 4.1.9 -> 4.1.9

  • [new tag] 4.2.14 -> 4.2.14

  • [new tag] 4.3.10 -> 4.3.10

Switched to a new branch 'stable'

==> Fetching /usr/local/Homebrew...

==> Resetting /usr/local/Homebrew...

Reset branch 'stable'

==>** Installation successful!**

==>** Homebrew has enabled anonymous aggregate formulae and cask analytics.**

Read the analytics documentation (and how to opt-out) here:

** **https://docs.brew.sh/Analytics

No analytics data has been sent yet (nor will any be during this install run).

==>** Homebrew is run entirely by unpaid volunteers. Please consider donating:**

https://gitee.com/Homebrew2/brew#donations

==>** Next steps:**

  • Run these two commands in your terminal to add Homebrew to your PATH:

    (echo; echo 'eval "$(/usr/local/bin/brew shellenv)"') >> /Users/meiwatt/.bash_profile

    eval "$(/usr/local/bin/brew shellenv)"

  • Run brew help to get started

  • Further documentation:

    https://docs.brew.sh

此步骤成功

            完成  退出brew官方安装脚本  完成

==> 配置国内镜像源HOMEBREW BOTTLE

此处如果显示Password表示需要再次输入开机密码,输入完后回车

sed: /Users/meiwatt/.profile: No such file or directory

有些电脑xcode和git混乱,再运行一次,此处如果有error正常。

xcode-select: error: command line tools are already installed, use "Software Update" to install updates

    Homebrew已经安装成功,接下来配置国内软件下载源。

请选择今后brew install的时候访问那个国内镜像,例如阿里巴巴,输入5回车。

1、中科大国内源

2、清华大学国内源

3、上海交通大学国内源

4、腾讯国内源

5、阿里巴巴国内源(推荐)

请输入序号: 5

你选择了阿里巴巴国内源



    环境变量写入->/Users/meiwatt/.profile

此步骤成功

==> 安装完成,brew版本

Homebrew 4.3.14

Homebrew前期配置成功

==> Downloading https://mirrors.aliyun.com/homebrew/homebrew-bottles/bottles-portable-ruby/portable-ruby-3.3.4_1.el_capitan.bottle.tar.gz

######################################################################## 100.0%

==> Pouring portable-ruby-3.3.4_1.el_capitan.bottle.tar.gz

Warning: Using --insecure with curl to download formula.jws.json because we need it to run brew install curl in order to download securely from now on. Checksums will still be verified.

==> Downloading https://mirrors.aliyun.com/homebrew/homebrew-bottles/api/formula

######################################################################### 100.0%

Warning: Using --insecure with curl to download formula_tap_migrations.jws.json because we need it to run brew install curl in order to download securely from now on. Checksums will still be verified.

==> Downloading https://mirrors.aliyun.com/homebrew/homebrew-bottles/api/formula

######################################################################### 100.0%

Warning: Using --insecure with curl to download cask.jws.json because we need it to run brew install curl in order to download securely from now on. Checksums will still be verified.

==> Downloading https://mirrors.aliyun.com/homebrew/homebrew-bottles/api/cask.jw

######################################################################### 100.0%

Warning: You are using macOS 10.11.

We (and Apple) do not provide support for this old version.

It is expected behaviour that some formulae will fail to build in this old version.

It is expected behaviour that Homebrew will be buggy and slow.

Do not create any issues about this on Homebrew's GitHub repositories.

Do not create any issues even if you think this message is unrelated.

Any opened issues will be immediately closed without response.

Do not ask for help from Homebrew or its maintainers on social media.

You may ask for help in Homebrew's discussions but are unlikely to receive a response.

Try to figure out the problem yourself and submit a fix as a pull request.

We will review it but may or may not accept it.

==> **Fetching dependencies for curl: cmake, brotli, libunistring, gettext, pkg-config, libidn2, libnghttp2, ca-certificates, openssl@3, libssh2, rtmpdump, lz4, xz and **zstd

==> **Fetching **cmake

==> Downloading https://raw.githubusercontent.com/Homebrew/homebrew-core/00d1311


本文转载自: https://blog.csdn.net/wxb880114/article/details/141102293
版权归原作者 未来AI编程 所有, 如有侵权,请联系我们删除。

“Mac初始化-安装brew”的评论:

还没有评论