mirror of
https://gitee.com/ineo6/homebrew-install.git
synced 2025-04-06 03:58:05 +08:00
20 lines
612 B
Markdown
20 lines
612 B
Markdown
# Homebrew (un)installer
|
|
|
|
## Install Homebrew (on macOS or Linux)
|
|
|
|
```bash
|
|
/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.
|
|
|
|
If running Linux or WSL, [there are some pre-requisite packages to install](https://docs.brew.sh/Homebrew-on-Linux#requirements).
|
|
|
|
## Uninstall Homebrew
|
|
|
|
```bash
|
|
/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.
|