Install via Homebrew
Install git-cliff on macOS or Linux using Homebrew.Quick Install
Prerequisites
Install Homebrew
If you don’t have Homebrew installed, install it first:macOS/Linux:Verify installation:
Installation Steps
Install git-cliff
- Download the latest version from Homebrew
- Install git-cliff to
/opt/homebrew/bin/(Apple Silicon) or/usr/local/bin/(Intel) - Set up necessary symlinks
Formula Information
- Formula Details
- Installed Files
- Dependencies
View formula information:This shows:
- Current version
- Installation path
- Dependencies
- Homepage and description
Managing Homebrew Installation
Platform-Specific Notes
- macOS
- Linux
Apple Silicon (M1/M2/M3)
Homebrew installs to/opt/homebrew/ on Apple Silicon:/opt/homebrew/bin is in your PATH:Intel Macs
Homebrew installs to/usr/local/ on Intel Macs:If you’re on Apple Silicon and see “Bad CPU type in executable”, you may be running the Intel version. Reinstall:
Alternative: Homebrew Tap
If the official formula is outdated, you can use a tap (custom formula):This is only needed if there’s a custom tap available. The official formula is usually sufficient.
Troubleshooting
Homebrew command not found
Homebrew command not found
Add Homebrew to your PATH:Apple Silicon:Intel Mac:Linux:
Formula not found
Formula not found
Update Homebrew’s formula list:If still not found, search for it:
Permission denied errors
Permission denied errors
Fix Homebrew permissions:Or reinstall Homebrew:
git-cliff command not found after installation
git-cliff command not found after installation
Check if git-cliff is installed:Find where it’s installed:Add to PATH manually:
Version conflicts
Version conflicts
If you have multiple installations:
Homebrew is slow on macOS
Homebrew is slow on macOS
Speed up Homebrew updates:Update manually when needed:
Keeping Updated
Homebrew makes updates easy:Next Steps
Configuration
Configure git-cliff for your project
Usage Examples
Learn how to use git-cliff