Before you start

Start with the official Homebrew installation page and review its requirements. Follow the commands shown there rather than copying an installer from an unknown source.

Steps

After installation, follow the installer’s shell environment instructions, then open a new terminal or apply the displayed shellenv command. The default prefix differs between Apple Silicon and Intel Macs.

brew --version
brew doctor

Using Casklane

Casklane shows your Homebrew library and package details in a native Mac interface. Review the package and operation output before confirming a change. Homebrew itself still performs package operations.

Sources and further reading