Other ways to install Mash
Choose a package manager or build from source. For the installer that starts the dashboard for you, see the quick start. If you’re replacing a version you already use, follow the upgrade steps.
Install with a package manager
Section titled “Install with a package manager”The packages below use Mash’s prebuilt releases. They include the browser dashboard, terminal search, and the tools a connected agent can use. After installing a package, start the local search service and finish setup. Before installing, you can check the published release downloads and see which installers passed for each release.
Homebrew, macOS or Linux
Section titled “Homebrew, macOS or Linux”On Apple silicon macOS or Linux x86-64 or ARM64, install from MashHQ’s Homebrew formula. The full name tells Homebrew which repository to use and selects the individual formula for Homebrew’s tap trust.
brew install mashhq/tap/mashapt, Debian or Ubuntu
Section titled “apt, Debian or Ubuntu”Use this on Debian 12+ or Ubuntu 22.04+ on x86-64 or ARM64.
The MashHQ apt repository publishes signed package metadata. The
signed-by setting uses MashHQ’s signing key
for this repository. You can inspect the signed metadata
before adding it.
curl -fsSL https://getmash.io/apt/mash-archive-keyring.gpg | sudo tee /usr/share/keyrings/mash-archive-keyring.gpg >/dev/nullecho "deb [signed-by=/usr/share/keyrings/mash-archive-keyring.gpg] https://getmash.io/apt stable main" | sudo tee /etc/apt/sources.list.d/mash.listsudo apt update && sudo apt install mash-cliThe package is mash-cli because Debian and Ubuntu already have an unrelated
package named mash; the command it installs is still mash. The two cannot
be installed together, and apt offers to remove the other one.
The same repository has the desktop app as
mash-desktop. It uses the mash that mash-cli installs, at the same
version, so apt upgrade updates the app and the command together:
sudo apt install mash-desktopScoop, Windows
Section titled “Scoop, Windows”On Windows x64 or ARM64 with Scoop installed, open PowerShell, add MashHQ’s bucket and install its Mash package. The manifest lists the Windows archive and its SHA-256 hash.
scoop bucket add mashhq https://github.com/mashhq/mashscoop install mashhq/mashWith mise installed, use its GitHub backend to install from the MashHQ release archives.
mise use -g github:mashhq/mashcargo-binstall
Section titled “cargo-binstall”With cargo-binstall installed, specify the GitHub project to select MashHQ’s release archive.
cargo binstall --strategies crate-meta-data --git https://github.com/mashhq/mash mashTo try a revision that isn’t released yet, see build from source.
Build from source
Section titled “Build from source”Use these instructions to try an unreleased revision. Building works on the same systems as the releases, since Mash’s search models need a prebuilt ONNX Runtime for the platform. Include the web dashboard to search in a browser. For terminal search and agent tools, use the shorter Cargo install.
Include the web dashboard
Section titled “Include the web dashboard”To include the dashboard, build its web files before compiling Mash. With Git, Node.js 24+, and Rust installed with rustup, run these commands in a terminal. The checkout names the Rust compiler that Mash’s releases are built with, and rustup downloads it the first time.
git clone https://github.com/mashhq/mash.gitcd mashnpx --yes pnpm@11.28.5 --dir dashboard install --frozen-lockfilenpx --yes pnpm@11.28.5 --dir dashboard run buildcargo install --locked --path .When adding the dashboard to an existing installation, check out the revision you installed before building. After building, start the local search service and follow the browser setup steps.
CLI and agent tools
Section titled “CLI and agent tools”This command builds terminal search and the tools that a connected agent can use. For the browser dashboard, follow the build steps above.
cargo +stable install --locked --git https://github.com/mashhq/mash mashmash --versionAfter building, start the local search service, then follow the terminal setup steps.
If your terminal cannot find Mash after either build, follow how to add Cargo’s binary directory to your command search path.