# 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
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://notes.muxinqi.com/macos-setup/homebrew.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
