mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
docs: point to homebrew/install repository.
This saves duplicating the (un)install instructions in multiple places.
This commit is contained in:
parent
b11d2b56f7
commit
6e60d3fb59
@ -48,14 +48,7 @@ or to __disable__ automatic `brew cleanup`:
|
|||||||
export HOMEBREW_NO_INSTALL_CLEANUP=1
|
export HOMEBREW_NO_INSTALL_CLEANUP=1
|
||||||
|
|
||||||
## How do I uninstall Homebrew?
|
## How do I uninstall Homebrew?
|
||||||
To uninstall Homebrew, paste the command below in a terminal prompt.
|
To uninstall Homebrew, run the [uninstall script from the Homebrew/install repository](https://github.com/homebrew/install#uninstall-homebrew).
|
||||||
|
|
||||||
```sh
|
|
||||||
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)"
|
|
||||||
```
|
|
||||||
|
|
||||||
Download the [uninstall script](https://raw.githubusercontent.com/Homebrew/install/master/uninstall)
|
|
||||||
and run `./uninstall --help` to view more uninstall options.
|
|
||||||
|
|
||||||
## How do I uninstall a formula?
|
## How do I uninstall a formula?
|
||||||
If you do not uninstall all of the versions that Homebrew has installed,
|
If you do not uninstall all of the versions that Homebrew has installed,
|
||||||
|
@ -20,11 +20,7 @@ The Homebrew package manager may be used on Linux and [Windows Subsystem for Lin
|
|||||||
|
|
||||||
## Install
|
## Install
|
||||||
|
|
||||||
Paste at a terminal prompt:
|
Instructions for a supported install of Homebrew on Linux are on the [homepage](https://brew.sh).
|
||||||
|
|
||||||
```sh
|
|
||||||
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
|
|
||||||
```
|
|
||||||
|
|
||||||
The installation script installs Homebrew to `/home/linuxbrew/.linuxbrew` using *sudo* if possible and in your home directory at `~/.linuxbrew` otherwise. Homebrew does not use *sudo* after installation. Using `/home/linuxbrew/.linuxbrew` allows the use of more binary packages (bottles) than installing in your personal home directory.
|
The installation script installs Homebrew to `/home/linuxbrew/.linuxbrew` using *sudo* if possible and in your home directory at `~/.linuxbrew` otherwise. Homebrew does not use *sudo* after installation. Using `/home/linuxbrew/.linuxbrew` allows the use of more binary packages (bottles) than installing in your personal home directory.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user