Installation
Recon ships as a single binary named recon. Every release publishes prebuilt archives for three targets, an install script that downloads and checksums them, a generated Homebrew formula, and desktop installers. You can also build it from source.
Supported platforms
Section titled “Supported platforms”The release workflow (.github/workflows/release.yml) builds the CLI for exactly these targets:
| OS | Architecture | Rust target | Release asset |
|---|---|---|---|
| Linux | x86_64 | x86_64-unknown-linux-gnu |
recon-<tag>-x86_64-unknown-linux-gnu.tar.gz |
| macOS | Apple silicon (arm64) | aarch64-apple-darwin |
recon-<tag>-aarch64-apple-darwin.tar.gz |
| macOS | Intel (x86_64) | x86_64-apple-darwin |
recon-<tag>-x86_64-apple-darwin.tar.gz |
<tag> is the Git tag including the v, for example recon-v0.3.2-x86_64-unknown-linux-gnu.tar.gz. Each archive contains the recon binary at its root, next to the license files LICENSE-MIT and LICENSE-APACHE.
There is no prebuilt CLI for Windows or for Linux on ARM. On those systems, build from source.
Every release also carries a SHA256SUMS.txt file with the SHA-256 of every asset, and a Homebrew formula file named recon.rb.
Install script
Section titled “Install script”scripts/install.sh downloads the archive for your machine from GitHub Releases, verifies it against SHA256SUMS.txt, and installs the binary.
curl -fsSL https://raw.githubusercontent.com/robertguss/recon/v0.3.2/scripts/install.sh | bashWhat the script does, in order:
- Checks that
curlandtarare installed. If either is missing, it printsError: required command '<name>' is not installed.and exits with status 1. - Detects the target from
uname -sanduname -m:Linuxwithx86_64oramd64selectsx86_64-unknown-linux-gnu.Darwinwitharm64oraarch64selectsaarch64-apple-darwin.Darwinwithx86_64selectsx86_64-apple-darwin.- Anything else exits with
Error: unsupported OS/architecture (...)and a link to the releases page.
- Picks the release tag. If
RECON_VERSIONis set, it uses that value and adds a leadingvwhen you leave it out. Otherwise it readstag_namefromhttps://api.github.com/repos/robertguss/recon/releases/latest. - Downloads
SHA256SUMS.txtandrecon-<tag>-<target>.tar.gzinto a temporary directory that is deleted on exit. - Finds the asset’s line in
SHA256SUMS.txtand compares it with the archive’s SHA-256, computed withsha256sumor, if that is missing,shasum -a 256. A missing entry, a missing hash tool, or a mismatch stops the install with status 1. - Extracts the archive and copies
reconinto the install directory with mode0755, creating the directory if needed. - Runs
recon --versionand printsInstalled <version> -> <dir>/recon. If the install directory is not on yourPATH, it prints theexport PATH=...line to add.
Environment variables
Section titled “Environment variables”The script takes no command-line flags. It reads two environment variables:
| Variable | Default | Effect |
|---|---|---|
RECON_INSTALL_DIR |
$HOME/.local/bin |
Directory the recon binary is installed into. |
RECON_VERSION |
latest release | Release tag to install, for example v0.3.2 or 0.3.2. |
curl -fsSL https://raw.githubusercontent.com/robertguss/recon/v0.3.2/scripts/install.sh \ | RECON_VERSION=v0.3.2 RECON_INSTALL_DIR=/usr/local/bin bashcargo-binstall
Section titled “cargo-binstall”The recon-cli package declares [package.metadata.binstall] in crates/recon-cli/Cargo.toml:
[package.metadata.binstall]pkg-url = "{ repo }/releases/download/v{ version }/recon-v{ version }-{ target }.tar.gz"bin-dir = "{ bin }{ binary-ext }"pkg-fmt = "tgz"This tells cargo-binstall to fetch the same GitHub Release archive the install script uses (recon-v<version>-<target>.tar.gz) and to take the recon binary from the archive root, instead of compiling. The package name is recon-cli; the binary it installs is recon. Only the three targets in the table above have archives.
cargo binstall recon-cliHomebrew formula
Section titled “Homebrew formula”The publish-release job generates a formula file, recon.rb, and attaches it to the GitHub Release. The formula:
- Is named
Recon, withversionset to the tag without the leadingv, andlicense any_of: ["MIT", "Apache-2.0"]. - Points to the
aarch64-apple-darwinarchive on Apple silicon, thex86_64-apple-darwinarchive on Intel Macs, and thex86_64-unknown-linux-gnuarchive on Intel Linux, each with its SHA-256. - Installs the single
reconbinary (bin.install "recon"). - Has a test that checks
recon --versionprints the formula version.
The workflow does not publish the formula to a tap. Download recon.rb from the release assets to use it.
Build from source
Section titled “Build from source”The workspace root Cargo.toml sets:
| Setting | Value |
|---|---|
edition |
2024 |
rust-version (minimum supported Rust) |
1.90 |
license |
MIT OR Apache-2.0 |
The web UI is compiled into the binary. crates/recon-server embeds the folder ui/dist with rust-embed (#[folder = "../../ui/dist"]), so build the UI before you build Rust. The CI and release workflows use Node.js 22 and pnpm 10 for this step.
git clone https://github.com/robertguss/recon.gitcd recon
cd uipnpm install --frozen-lockfilepnpm buildcd ..
cargo build --release --bin recon./target/release/recon --versionIf ui/dist holds no built assets, recon ui still starts, but the server answers page requests with a stub page that reads “Recon UI assets not built” and tells you to run pnpm build inside ui/.
The desktop app in apps/desktop/src-tauri is excluded from the Cargo workspace (exclude = ["apps/desktop/src-tauri"]), so cargo build at the root does not build it.
Desktop installers
Section titled “Desktop installers”The release workflow also builds the desktop app with Tauri v2 and attaches its installers to the GitHub Release:
| Build | Installers collected |
|---|---|
linux-x86_64 (Ubuntu 22.04) |
Recon*.AppImage, .deb, .rpm |
macos-aarch64 (macOS 15) |
.dmg |
macOS DMGs are signed, notarized and stapled only when the Apple signing secrets are configured for the release run. See Desktop App for what the app does.
Verify the install
Section titled “Verify the install”Check the version:
recon --versionrecon 0.3.2Then run recon doctor inside a workspace. It checks .recon.toml, collections, environments, Airlock rules, the Flight Recorder ledger and loopback socket binding, and exits with status 1 if any check fails. Output from the recon init --demo workspace after a few requests (the first line, which names the workspace’s absolute path, is left out):
recon --format human doctor [ok] workspace_config: Loaded `recon-demo` (default_env=`local`, require_approval_for_mutations=true) [ok] collections: 3 request(s) loaded from `.http` files [ok] environments: 2 environment(s), 3 host-scoped secret(s) [ok] airlock: salt_fingerprint=9d2de0d49b08, column_rules=6, tables=0 [ok] flight_recorder: SQLite WAL + SHA-256 ledger valid (9 run(s), 0 pending approval(s)) [ok] loopback_socket: 127.0.0.1 ephemeral bind available for `recon ui`See Setup, Skill & Doctor for every doctor check, and Quickstart for your first workspace.