Normally, installing a new app on a Mac feels like receiving a package in the mail: you open a browser, find the download button, wait for a .dmg file, double-click it, and drag the icon into your Applications folder.
With Homebrew Cask, it is more like having a personal assistant. You type one short line in Terminal, and Homebrew downloads the official app, places it straight into your Applications folder, and cleans up the installer file for you.
What Is the Difference Between a Formula and a Cask?
In Homebrew, regular packages (called formulas) are command-line tools that live inside Terminal. A Cask is a normal desktop app with a window and an icon—like Visual Studio Code, Firefox, or VLC.
Searching and Installing Your First Cask
Add the --cask flag to search for or install any desktop app. For example, here is how to find and install the VLC media player:
# 1. Search if the desktop app is available as a cask
brew search --cask vlc
# 2. Install the app directly into your Applications folder
brew install --cask vlc
Once it finishes, open Spotlight (Command + Space), type VLC, and press Enter—no .dmg files left cluttering your Downloads folder.
Updating or Removing Cask Apps Later
Managing your apps later is just as easy. One command keeps them updated or removes them cleanly:
# Update all Homebrew tools and cask apps
brew upgrade
# Remove a cask app you no longer need
brew uninstall --cask vlc
3 Things to Remember
- Use
--caskfor desktop apps: Regularbrew installis for terminal tools; adding--caskinstalls graphical Mac apps. - Apps land in Applications: You can launch them from Spotlight or Launchpad just like apps installed manually.
- No leftover installers: Homebrew handles the download and cleanup automatically so your Downloads folder stays tidy.