# Install Brew on an Intel Mac

> The one-liner that installs Homebrew on an Intel Mac running macOS Monterey, the PATH export it needs in ~/.zshrc, and how to verify with brew doctor.

```sh
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
echo 'export PATH="/usr/local/sbin:$PATH"' >> ~/.zshrc
source ~/.zshrc
```

## Usage

1. Run the command above in your terminal application of choice
2. If you have not installed the Xcode Command Line Tools, brew will automatically install them for you
3. After the installation completes, run `brew doctor`
4. If the output of `brew doctor` is `Your system is ready to brew.`, you are done
5. If `brew doctor` returns issues, resolve them according to the provided instructions
6. You may want to set up Homebrew's shell-completion at this time

## Resources

- [Homebrew Documentation](https://docs.brew.sh)
- [Homebrew Documentation: Configuring Completions in zsh](https://docs.brew.sh/Shell-Completion#configuring-completions-in-zsh)
