CLI Installation
Install Ada CLI (
ada/lovelace) on any platform
The installer ships four binaries: ada and lovelace (two names for the same CLI) plus lattice-daemon and lattice-ctl, the local Lattice runtime that ada starts on demand for local chat, agents, and tasks.
Universal Installer#
One command installs the CLI and the Lattice runtime without a package manager. This is also the recommended path for CI.
macOS / Linux / WSL#
curl -fsSL https://d.uselovelace.com/install | sh
ada --version
Installer URLs#
The install site at d.uselovelace.com serves these installers:
| URL | Installs |
|---|---|
https://d.uselovelace.com/install | Ada CLI plus the Lattice runtime (macOS, Linux, WSL) |
https://d.uselovelace.com/lattice | Lattice runtime only: lattice-daemon and lattice-ctl |
# Ada CLI plus the Lattice runtime
curl -fsSL https://d.uselovelace.com/install | sh
# Lattice runtime only
curl -fsSL https://d.uselovelace.com/lattice | sh
Version Pinning#
# Install a specific version
curl -fsSL https://d.uselovelace.com/install | sh -s -- --version 1.2.3
# Install from a release channel (stable, preview, dev)
curl -fsSL https://d.uselovelace.com/install | sh -s -- --channel preview
Run curl -fsSL https://d.uselovelace.com/install | sh -s -- --help to list every installer option.
Environment Variables#
The shell installer reads these variables. Set them on the sh side of the pipe (or export them first) so the installer sees them.
| Variable | Default | Description |
|---|---|---|
LOVELACE_VERSION | latest | Version to install: latest, 1.2.3, and so on |
LOVELACE_CHANNEL | stable | Release channel: stable, preview, or dev |
LOVELACE_INSTALL_DIR | ~/.lovelace (interactive), auto in CI | Directory where binaries are placed (under bin/) |
LOVELACE_COMPONENTS | cli | Comma-separated component list: cli, lattice |
LOVELACE_CI | auto-detected | Set to 1 to force CI mode |
LOVELACE_NO_TELEMETRY | 0 | Set to 1 to disable anonymous install telemetry |
LOVELACE_DEBUG | 0 | Set to 1 to print every decision the installer makes |
LOVELACE_SKIP_VERIFY | 0 | Set to 1 to skip SHA-256 checksum verification |
LOVELACE_BASE_URL | https://d.uselovelace.com/releases/cli | Override the download base URL (useful for testing a mirror) |
LOVELACE_MANIFEST_URL | https://d.uselovelace.com/manifest/ | Override where latest is resolved from |
Common examples#
# Install to a custom directory
curl -fsSL https://d.uselovelace.com/install | LOVELACE_INSTALL_DIR=/opt/lovelace sh
# Pin a version in CI
curl -fsSL https://d.uselovelace.com/install | LOVELACE_VERSION=1.2.3 sh
# Print every installer decision
curl -fsSL https://d.uselovelace.com/install | LOVELACE_DEBUG=1 sh
GitHub Actions#
Install the CLI in a workflow step with the shell installer:
- name: Install Ada CLI
run: curl -fsSL https://d.uselovelace.com/install | sh
env:
LOVELACE_VERSION: 1.2.3
See CI/CD Integration for pipeline examples.
Verification#
After installation, confirm both CLI names are on PATH:
ada --version
lovelace --version # second name for ada
Updating#
ada update
ada update --check only reports whether an update is available, and ada update --include-daemon also updates the Lattice daemon.
Troubleshooting#
ada: command not found after installation#
The installer adds the binary directory to your shell profile (.bashrc, .zshrc, or .profile), but the current session does not pick up the change automatically.
# Reload your shell profile, then retry
source ~/.bashrc # or ~/.zshrc
ada --version
If that does not help, add the directory to PATH explicitly and re-open your terminal:
export PATH="$HOME/.lovelace/bin:$PATH"
Download fails or times out#
Re-run the installer with debug output to see which step fails:
curl -fsSL https://d.uselovelace.com/install | LOVELACE_DEBUG=1 sh
The installer resolves latest from https://d.uselovelace.com/manifest/<channel>.json and downloads each file from https://d.uselovelace.com/releases/cli/v<version>/. If the manifest cannot be read, the installer stops with an error; pass --version to install a specific release instead.
To download from a local mirror or staging server that uses the same layout:
curl -fsSL https://d.uselovelace.com/install | \
LOVELACE_BASE_URL=http://localhost:8080/releases/cli \
LOVELACE_MANIFEST_URL=http://localhost:8080/manifest sh
Binary verification fails#
SHA-256 verification protects against corrupted downloads. If you are behind a proxy that rewrites TLS traffic, checksums will mismatch:
# Skip verification only if you trust the network path
curl -fsSL https://d.uselovelace.com/install | LOVELACE_SKIP_VERIFY=1 sh
Unsupported platform or architecture#
The universal installer supports Linux (x64, arm64) and macOS (arm64). Windows and Intel Macs aren't supported. If your platform is not listed, see Downloads for the platforms that are available.
Manual Downloads#
Every release file is published at https://d.uselovelace.com/releases/cli/v<version>/<file>, with its SHA-256 at the same URL plus .sha256. For version 0.1.6 on Linux x64:
curl -fLO https://d.uselovelace.com/releases/cli/v0.1.6/ada-v0.1.6-linux-x64
curl -fsSL https://d.uselovelace.com/releases/cli/v0.1.6/ada-v0.1.6-linux-x64.sha256
Next step: Quickstart Guide: sign in and run your first command.