mirror of
https://gitee.com/ineo6/homebrew-install.git
synced 2025-06-11 07:59:16 +08:00
替换说明文档中脚本地址
This commit is contained in:
parent
4de87dbab0
commit
bb67985d1e
@ -3,7 +3,7 @@
|
||||
## Install Homebrew (on macOS or Linux)
|
||||
|
||||
```bash
|
||||
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
|
||||
/bin/bash -c "$(curl -fsSL https://cdn.jsdelivr.net/gh/ineo6/homebrew-install/install.sh)"
|
||||
```
|
||||
|
||||
More installation information and options: https://docs.brew.sh/Installation.
|
||||
@ -13,7 +13,7 @@ If running Linux or WSL, [there are some pre-requisite packages to install](http
|
||||
## Uninstall Homebrew
|
||||
|
||||
```bash
|
||||
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall.sh)"
|
||||
/bin/bash -c "$(curl -fsSL https://cdn.jsdelivr.net/gh/ineo6/homebrew-install/uninstall.sh)"
|
||||
```
|
||||
|
||||
Download the uninstall script and run `/bin/bash uninstall.sh --help` to view more uninstall options.
|
||||
|
@ -3,8 +3,8 @@
|
||||
STDERR.print <<EOS
|
||||
Warning: The Ruby Homebrew uninstaller is now deprecated and has been rewritten in
|
||||
Bash. Please migrate to the following command:
|
||||
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall.sh)"
|
||||
/bin/bash -c "$(curl -fsSL https://cdn.jsdelivr.net/gh/ineo6/homebrew-install/uninstall.sh)"
|
||||
|
||||
EOS
|
||||
|
||||
Kernel.exec "/bin/bash", "-c", '/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall.sh)"' + ' uninstall ' + ARGV.join(" ")
|
||||
Kernel.exec "/bin/bash", "-c", '/bin/bash -c "$(curl -fsSL https://cdn.jsdelivr.net/gh/ineo6/homebrew-install/uninstall.sh)"' + ' uninstall ' + ARGV.join(" ")
|
||||
|
Loading…
x
Reference in New Issue
Block a user