> For the complete documentation index, see [llms.txt](https://mac-python.gitbook.io/python-mac/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mac-python.gitbook.io/python-mac/brew-it-d/untitled.md).

# Using Home-brew

To install a package (or **Formula** in Homebrew vocabulary) simply type:

```
$ brew install <formula>
```

To update Homebrew's directory of formulae, run:

```
$ brew update
```

Homebrew keeps older versions of packages installed, in case you want to roll back. That rarely is necessary, so you can do some cleanup to get rid of those old versions:

```
$ brew cleanup
```

To see what you have installed (with their version numbers):

```
$ brew list --versions
```
