Casks (Applications)¶
Casks allow you to install macOS applications and Linux desktop apps.
What are Casks?¶
Casks extend Stout to install:
- macOS: DMG, PKG, and ZIP application bundles
- Linux: AppImage, Flatpak, and other desktop applications
Unlike formulas (command-line tools), casks install GUI applications.
Basic Usage¶
Search for Applications¶
Install an Application¶
Or use the --cask flag with install:
List Installed Applications¶
Get Application Info¶
Managing Applications¶
Uninstall¶
Remove an application:
Uninstall with Zap¶
Remove application and all associated files (preferences, caches, etc.):
Warning
The --zap option removes user preferences and data. Use with caution.
Check for Updates¶
Upgrade Applications¶
Upgrade a specific application:
Upgrade all applications:
Installation Locations¶
macOS¶
- Applications:
/Applicationsor~/Applications - Binaries: Symlinked to
/opt/homebrew/bin
Linux¶
- AppImages:
~/.local/share/appimages - Binaries: Symlinked to
~/.local/bin
Common Casks¶
Browsers¶
Development Tools¶
stout cask install visual-studio-code
stout cask install iterm2
stout cask install docker
stout cask install postman
Productivity¶
Media¶
Cask Options¶
Force Reinstall¶
Skip Quarantine (macOS)¶
By default, macOS quarantines downloaded applications. To skip:
Casks in Brewfiles¶
Include casks in your Brewfile:
# Brewfile
# Formulas (CLI tools)
brew "git"
brew "node"
# Casks (Applications)
cask "firefox"
cask "visual-studio-code"
cask "docker"
Install everything:
Troubleshooting¶
Application won't open (macOS)¶
If macOS blocks the application:
- Open System Preferences > Security & Privacy
- Click "Open Anyway" for the blocked application
Or remove quarantine attribute:
Application not found after install¶
Check if the cask includes a binary:
If it doesn't add to PATH, launch from Applications folder.
Cask conflicts with existing installation¶
Uninstall the existing version first, or use --force: