Install and update
Quick install
The installer detects macOS/Linux and CPU architecture, downloads the raw
binary and its SHA-256 sidecar from the public RustFS release feed, verifies
the digest, and installs to ~/.athena/bin/athena:
curl -fsS https://fs-service.leanscale.com/athena-cli/cli/install.sh | shexport PATH="$HOME/.athena/bin:$PATH" # add to .zshrc or .bashrcathena --versionRe-running the installer replaces only the executable. Existing
config.toml and credentials.toml files remain byte-for-byte untouched.
Pin a release using either the crate version or canonical tag form:
curl -fsS https://fs-service.leanscale.com/athena-cli/cli/install.sh | sh -s -- --version 1.10.0curl -fsS https://fs-service.leanscale.com/athena-cli/cli/install.sh | sh -s -- --version cli-v1.10.0Direct verified download
The public release origin is
https://fs-service.leanscale.com/athena-cli. Stable aliases live under
cli/latest/; immutable versioned binaries live under
cli/releases/<version>/.
base=https://fs-service.leanscale.com/athena-cli/cli/latestname=athena-aarch64-apple-darwincurl -fsSo athena "$base/$name"curl -fsSo athena.sha256 "$base/$name.sha256"test "$(shasum -a 256 athena | awk '{print $1}')" = "$(awk '{print $1}' athena.sha256)"chmod +x athenamkdir -p ~/.athena/bin && mv athena ~/.athena/bin/athenabase=https://fs-service.leanscale.com/athena-cli/cli/latestname=athena-x86_64-apple-darwincurl -fsSo athena "$base/$name"curl -fsSo athena.sha256 "$base/$name.sha256"test "$(shasum -a 256 athena | awk '{print $1}')" = "$(awk '{print $1}' athena.sha256)"chmod +x athenamkdir -p ~/.athena/bin && mv athena ~/.athena/bin/athenabase=https://fs-service.leanscale.com/athena-cli/cli/latestname=athena-x86_64-unknown-linux-gnucurl -fsSo athena "$base/$name"curl -fsSo athena.sha256 "$base/$name.sha256"test "$(sha256sum athena | awk '{print $1}')" = "$(awk '{print $1}' athena.sha256)"chmod +x athenamkdir -p ~/.athena/bin && mv athena ~/.athena/bin/athena$base = "https://fs-service.leanscale.com/athena-cli/cli/latest"$name = "athena-x86_64-pc-windows-msvc.exe"Invoke-WebRequest "$base/$name" -MaximumRedirection 0 -OutFile athena.exeInvoke-WebRequest "$base/$name.sha256" -MaximumRedirection 0 -OutFile athena.exe.sha256$expected = (Get-Content athena.exe.sha256) -split '\s+' | Select-Object -First 1$actual = (Get-FileHash athena.exe -Algorithm SHA256).Hash.ToLowerInvariant()if ($actual -ne $expected) { throw "SHA-256 mismatch" }Move athena.exe to a permanent directory and add that directory to the
user PATH.
Verify the installer itself
The pipe-installer pattern trusts whatever its URL serves. Download the script first, verify the SHA-256 pinned here, inspect it if desired, then run it:
curl -fsS https://fs-service.leanscale.com/athena-cli/cli/releases/1.10.0/install.sh -o install.shecho "b0fd747d792120c7ac542c8c6b7408d7019e7f2e4610e608cc60356d98773ff8 install.sh" | shasum -a 256 -c -sh install.shPinned SHA-256 (matches the immutable 1.10.0 installer):
b0fd747d792120c7ac542c8c6b7408d7019e7f2e4610e608cc60356d98773ff8Update
Starting with CLI 1.8.0, update explicitly at any time:
athena updateThe command checks the same public RustFS feed, verifies the selected binary, and replaces the running executable. Invoking it is consent; there is no interactive prompt. It needs no Athena API URL, selected profile, workspace, login, or token.
Starter configuration
On a new install only, the installer writes:
default_profile = "dev"
[profile.dev]api_url = "https://athena-dev-api.leanscale.com"
[profile.beta]api_url = "https://athena-beta-api.leanscale.com"
[profile.prod]api_url = "https://athena-api.leanscale.com"Existing config is never rewritten because doing so would lose comments and formatting. If your config predates the beta profile, add this block manually:
[profile.beta]api_url = "https://athena-beta-api.leanscale.com"default_profile selects the profile used when no flag or environment
override is present. There is no active_profile setting.
~/.athena/ layout
After install + first login:
~/.athena/ bin/ athena executable config.toml editable profiles and workspace selection credentials.toml chmod 600, written by athena login; never edit cache/ schema cacheATHENA_INSTALL_DIR changes the installer’s root directory.
ATHENA_CONFIG_DIR changes where the CLI reads config and credentials. Set
both to the same directory when moving the complete tree.
Next steps
- Quickstart → — login, pick a workspace, run an agent
- Authentication → — profiles, overrides, and refresh tokens