Add the tap
brew tap harpertoken/tap
Harper can be installed via Homebrew, providing an easy way to manage updates and dependencies on macOS.
brew tap harpertoken/tap
brew install harpertoken/tap/harper-ai
harper --version
brew upgrade harpertoken/tap/harper-ai
brew uninstall harpertoken/tap/harper-ai
The Homebrew formula builds Harper from source, which requires:
Initial compilation takes several minutes. Subsequent upgrades are faster due to cached dependencies.
Ensure Rust is installed:
rustup update
Verify the binary is in your PATH:
which harper
If not found, add Homebrew binaries to your PATH:
export PATH="$(brew --prefix)/bin:$PATH"
Ensure your Homebrew installation is properly configured:
brew doctor