Make a Brewfile from what's installed
A Brewfile lists Homebrew taps, formulae, casks and App Store apps so brew bundle can install them all. Casky writes one for you from what's on your Mac.
Generate it
- Choose File › Save This Mac as Setup. Casky lists every Homebrew formula you installed, every cask and every App Store app.
- Remove anything you don't want to keep.
- Choose Export Brewfile.
You can also tick items anywhere in Casky and export just those. The file looks like this:
# Generated by Casky (https://casky.app). Install with: brew bundle --file=<this file> tap "charmbracelet/tap" brew "git" brew "node" brew "charmbracelet/tap/mods" brew "mas" cask "ghostty" cask "visual-studio-code" mas "Xcode", id: 497799835
When the list has App Store apps, Casky adds brew "mas" so the mas lines work on a fresh Mac.
Install from it
brew bundle --file=Brewfile
Open a Brewfile someone shared
Choose File › Open Brewfile, or drag it onto Casky's window. Casky selects what it lists so you can review it before installing, and you can save it as a setup.
A Brewfile is Ruby, and brew bundle runs it as code. Casky only reads the plain tap, brew, cask and mas lines and never runs anything in the file; it shows you every line it left out.
More than a Brewfile
A Brewfile covers Homebrew and the App Store. A Casky setup also covers services, editor extensions, npm, pipx, uv and Cargo packages, dotfiles and Mac settings. See setting up a new Mac.