> For the complete documentation index, see [llms.txt](https://notes.muxinqi.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://notes.muxinqi.com/macos-setup/homebrew.md).

# Homebrew

Install `homebrew` and useful extensions

## Installation

{% code fullWidth="false" %}

```bash
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
```

{% endcode %}

## Extensions

### [rmtree](https://github.com/beeftornado/homebrew-rmtree)

> Remove a formula and its unused dependencies

```bash
# Installation
brew tap beeftornado/rmtree

# Commonly Usage
brew rmtree ffmpeg
```

### [cask-upgrade](https://github.com/buo/homebrew-cask-upgrade)

> A command line tool for upgrading every outdated app installed by Homebrew Cask

```bash
# Installation
brew tap buo/cask-upgrade

# Commonly Usage
brew cu -a
```

### [cask-fonts](https://github.com/Homebrew/homebrew-cask-fonts)

```bash
# Installation
brew tap homebrew/cask-fonts

# Commonly Usage
brew install font-fira-code
```
