Installation
Requirements
Section titled “Requirements”- macOS or Linux (Unix domain sockets required)
- A truecolor terminal (recommended)
$EDITORset to your preferred editor (vim, neovim, helix, etc.)
SQLite is bundled, no separate install needed. Rust is only needed if building from source.
Homebrew (macOS / Linux)
Section titled “Homebrew (macOS / Linux)”brew install planetaryescape/mxr/mxrEquivalent 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:
brew trust planetaryescape/mxr(Or trust just this formula with brew trust --formula planetaryescape/mxr/mxr.)
Pre-built binaries
Section titled “Pre-built binaries”Download from GitHub Releases:
- macOS Apple Silicon (aarch64)
- Linux x86_64
Extract and place mxr in your $PATH:
tar xzf mxr-v*.tar.gzcp mxr ~/.local/bin/ # or /usr/local/binmacOS Gatekeeper
Section titled “macOS Gatekeeper”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:
xattr -d com.apple.quarantine ~/.local/bin/mxrmxr --versionHomebrew and cargo install avoid some of this friction because they build or
install through a path macOS already knows.
Cargo (from source)
Section titled “Cargo (from source)”mxr is not published to crates.io. Install directly from the git repo:
# Latest maincargo 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 locallygit clone https://github.com/planetaryescape/mxrcd mxrcargo install --path . --lockedBuilding from source requires Rust 1.88+ (see Cargo.toml for the current MSRV).
Verify installation
Section titled “Verify installation”mxr --versionmxr doctor --checkmxr --help- Gmail setup for Gmail accounts
- IMAP / SMTP setup for any other provider
- First sync