| title | Installation |
|---|---|
| description | Install monocle on macOS or Linux. |
Before installing monocle, make sure you have:
- A coding agent: Claude Code, OpenCode, Codex CLI, Gemini CLI, or Pi
- A terminal with 256-color or true color support
- A Nerd Font for file icons (optional but recommended)
The simplest way to install monocle on macOS or Linux:
brew install --cask josephschmitt/tap/monocleEarlier releases shipped monocle as a Homebrew formula
(brew install josephschmitt/tap/monocle). It's now a cask. If you
installed the old formula, uninstall it before installing the cask —
otherwise Homebrew reports a conflict between the two:
brew uninstall monocle # remove the old formula
brew install --cask josephschmitt/tap/monocleDownload and install a pre-built binary for your platform from GitHub Releases.
curl -Lo monocle.tar.gz https://github.com/josephschmitt/monocle/releases/latest/download/monocle_darwin_arm64.tar.gz
tar xzf monocle.tar.gz
sudo mv monocle /usr/local/bin/curl -Lo monocle.tar.gz https://github.com/josephschmitt/monocle/releases/latest/download/monocle_darwin_amd64.tar.gz
tar xzf monocle.tar.gz
sudo mv monocle /usr/local/bin/curl -Lo monocle.tar.gz https://github.com/josephschmitt/monocle/releases/latest/download/monocle_linux_amd64.tar.gz
tar xzf monocle.tar.gz
sudo mv monocle /usr/local/bin/curl -Lo monocle.tar.gz https://github.com/josephschmitt/monocle/releases/latest/download/monocle_linux_arm64.tar.gz
tar xzf monocle.tar.gz
sudo mv monocle /usr/local/bin/After installing, confirm monocle is available:
monocle --versionTo remove monocle and its agent registrations:
monocle unregister all
brew uninstall --cask monocleIf you installed from source, run make uninstall from the repo directory.
Once monocle is installed, follow the quick start guide to register it with your agent and begin reviewing code.