How to Install Apps With Homebrew on Mac
Install Homebrew, then install, update and remove Mac apps and command-line tools with one command each. Plus how to search and upgrade everything from Raycast without typing brew commands.
Install Homebrew, then install, update and remove Mac apps and command-line tools with one command each. Plus how to search and upgrade everything from Raycast without typing brew commands.
You found a tool on GitHub and the install instructions say brew install. Or you're setting up a new Mac and don't want to click through twenty download pages.
The short answer: install Homebrew, the free package manager most Mac developers use. Then install any app with one line, like brew install --cask raycast, and update everything at once with brew upgrade. If you'd rather not remember the commands, the free Brew extension for Raycast lets you search, install and upgrade packages from your keyboard.
| Method | Install Homebrew | Find packages | Upgrade everything |
|---|---|---|---|
| Terminal | One command | brew search | brew upgrade |
| Brew for Raycast | Needs Homebrew | Type, then Enter | Pick from a list |
| Mac App Store | Not needed | Store search | Only App Store apps |
Homebrew runs in Terminal and installs in a few minutes. This is the install command from the top of brew.sh:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew in /opt/homebrew. On Intel Macs, Homebrew lives in /usr/local and works right away.brew doctor. "Your system is ready to brew" means you're done.Prefer a regular installer? Homebrew also publishes a .pkg file on its GitHub releases page.
Homebrew has two kinds of packages. Casks are Mac apps with a window, like Raycast, Firefox or VLC. Formulae are command-line tools, like git, ffmpeg or node.
| Task | Command |
|---|---|
| Find a package | brew search firefox |
| Install a Mac app | brew install --cask firefox |
| Install a command-line tool | brew install ffmpeg |
| See what's installed | brew list |
| See what's out of date | brew outdated |
| Update everything | brew update && brew upgrade |
| Remove an app | brew uninstall --cask firefox |
| Remove an app and its support files | brew uninstall --zap --cask firefox |
| Free up disk space | brew cleanup |
Apps installed as casks land in your Applications folder like any other app. The big win is that brew upgrade keeps them all current, and you can rebuild your whole setup on a new Mac from a list.
Brew is a free, open-source extension with more than 300,000 installs. It wraps Homebrew in a searchable list, so you don't have to remember package names or flags.

Open Raycast and type one of these:
⌘ ⇧ I) shows version changes and download sizes before anything runs.A few things worth knowing:
⌘ I still installs right inside Raycast.--zap does. Some of those files may be shared with other apps.Brew needs Homebrew 6.0 or later. Give Search a hotkey and installing a new tool takes a few keystrokes.
Many apps are on the Mac App Store, which installs and updates them for you without Terminal. Open App Store, search, and click Get. Updates show up under Updates in the sidebar.
The catch is coverage. Lots of popular apps and almost every developer tool aren't on the App Store, which is why so many people use Homebrew for the rest.
Here's a quick tour of what else it can do, in under seven minutes:
Homebrew is a widely used, open-source project. Packages in its official repositories are reviewed, and apps installed as casks are the same signed downloads you'd get from the developer's site. Be more careful with third-party taps, which run their owner's code.
A formula is usually a command-line tool or library, like git or ffmpeg, installed with brew install. A cask is a Mac app with a graphical interface, like Raycast or Firefox, installed with brew install --cask.
Casks put apps in your Applications folder like a normal install. Homebrew itself and its command-line tools live in /opt/homebrew on Apple silicon Macs and /usr/local on Intel Macs.
Run brew update to refresh the package lists, then brew upgrade to update everything that's outdated. brew outdated shows what would change first. In Raycast, the Brew extension's Show Upgrades command lets you pick which ones to upgrade.
Homebrew provides an uninstall script in its install repository on GitHub. Run it from Terminal and it removes Homebrew and the packages it installed. Apps you installed as casks are removed too, so back up anything you want to keep.
More guides
Port 3000 already in use? Find out which process is listening on a port and stop it, with lsof and kill in Terminal, Activity Monitor, or the free Port Manager extension.
Unplugging your MacBook from a dock full of drives? Eject every external disk and disk image in one step with Raycast, or with Finder, Terminal and a one-line AppleScript.
Make a UUID on your Mac in a second, without a website: with the uuidgen command, a Raycast snippet, or a Raycast extension that also does v7 UUIDs, ULIDs and TypeIDs.
Check your download speed, upload speed and ping on Mac without opening a browser. Use the built-in networkQuality command or a Speedtest by Ookla test from Raycast.
