Skip to content

Installation

  • macOS or Linux (Unix domain sockets required)
  • A truecolor terminal (recommended)
  • $EDITOR set to your preferred editor (vim, neovim, helix, etc.)

SQLite is bundled, no separate install needed. Rust is only needed if building from source.

Terminal window
brew install planetaryescape/mxr/mxr

Equivalent to brew tap planetaryescape/mxr && brew install mxr if you prefer to tap explicitly.

Homebrew 5.1.15+ requires third-party taps to be trusted before it will load their formulae. If brew install or brew upgrade refuses with untrusted tap planetaryescape/mxr, trust it once:

Terminal window
brew trust planetaryescape/mxr

(Or trust just this formula with brew trust --formula planetaryescape/mxr/mxr.)

Download from GitHub Releases:

  • macOS Apple Silicon (aarch64)
  • Linux x86_64

Extract and place mxr in your $PATH:

Terminal window
tar xzf mxr-v*.tar.gz
cp mxr ~/.local/bin/ # or /usr/local/bin

V1 release binaries may be unsigned. macOS can show “Apple could not verify mxr” on first run. That is accepted for v1 distribution; it means the binary is not notarized with Apple, not that mxr phones home. If you trust the GitHub Release you downloaded, remove the quarantine bit once:

Terminal window
xattr -d com.apple.quarantine ~/.local/bin/mxr
mxr --version

Homebrew and cargo install avoid some of this friction because they build or install through a path macOS already knows.

mxr is not published to crates.io. Install directly from the git repo:

Terminal window
# Latest main
cargo install --git https://github.com/planetaryescape/mxr --locked mxr
# A specific release tag (replace vX.Y.Z with the latest from the releases page)
cargo install --git https://github.com/planetaryescape/mxr --tag vX.Y.Z --locked mxr
# Or clone and install locally
git clone https://github.com/planetaryescape/mxr
cd mxr
cargo install --path . --locked

Building from source requires Rust 1.88+ (see Cargo.toml for the current MSRV).

Terminal window
mxr --version
mxr doctor --check
mxr --help