Quick Start¶
Get up and running with Stout in just a few minutes.
First Steps¶
Update the Package Index¶
Before installing packages, update the formula index:
This downloads the pre-computed package index (about 2MB) - much faster than Homebrew's git-based update.
Search for Packages¶
Find packages with full-text search:
Output:
jq Lightweight and flexible command-line JSON processor
python-yq Command-line YAML and XML processor using jq
gron Make JSON greppable
fx Terminal JSON viewer
...
Get Package Information¶
View details about a package:
Output:
jq 1.7.1
Lightweight and flexible command-line JSON processor
Homepage: https://jqlang.github.io/jq/
License: MIT
Installed: No
Installing Packages¶
Basic Installation¶
Install Multiple Packages¶
Install Specific Version¶
stout install [email protected]
Build from Source¶
If a pre-built bottle isn't available:
Managing Installed Packages¶
List Installed Packages¶
Check for Updates¶
Upgrade Packages¶
Upgrade a specific package:
Upgrade all packages:
Uninstall Packages¶
Remove Unused Dependencies¶
Exploring Dependencies¶
View Dependencies¶
See what a package depends on:
stout deps [email protected]
View as Tree¶
stout deps --tree [email protected]
Reverse Dependencies¶
See what depends on a package:
Why Is This Installed?¶
Trace why a package was installed:
Working with Casks (Applications)¶
Casks are macOS applications (DMG, PKG) and Linux apps (AppImage, Flatpak).
Search for Applications¶
Install an Application¶
List Installed Applications¶
Upgrade Applications¶
System Maintenance¶
Health Check¶
Run diagnostics:
Clean Up¶
Remove old downloads and cache:
Preview what would be removed:
View Configuration¶
Helpful Tips¶
Pin Packages¶
Prevent a package from being upgraded:
Switch Versions¶
If you have multiple versions installed:
Rollback¶
Revert to a previous version:
View History¶
See version history for a package:
Common Workflows¶
Developer Setup¶
# Install development tools
stout install git node [email protected] rust
# Install applications
stout cask install visual-studio-code iterm2
Using Brewfiles¶
If you have an existing Brewfile:
Create a Brewfile from current installation:
Project-Specific Environments¶
Create an isolated prefix:
stout prefix create ~/myproject/.stout
stout --prefix=~/myproject/.stout install node@20 [email protected]
Next Steps¶
- Command Reference - Complete command documentation
- Configuration - Customize stout settings
- Casks Guide - Working with applications