docs DocsCapabilitiesGitHub
Start / Install
Start / Install

Install

aide is a single binary for macOS and Linux, on amd64 and arm64. Release binaries are static and need no Zig or C runtime.

Install the latest release

curl -sSfL https://raw.githubusercontent.com/jskswamy/aide/main/install.sh | sh

The installer detects your OS and architecture, downloads the matching archive from the latest GitHub release, checks it against the release’s sha256sums.txt, and copies aide into ./bin under the directory you ran it from. If that directory is not on your PATH, the installer says so.

Choose the install directory

Set INSTALL_DIR to install somewhere else. A system directory needs sudo:

curl -sSfL https://raw.githubusercontent.com/jskswamy/aide/main/install.sh | sudo INSTALL_DIR=/usr/local/bin sh

Install a specific version

Set VERSION to a release tag:

curl -sSfL https://raw.githubusercontent.com/jskswamy/aide/main/install.sh | VERSION=v0.1.0 sh

Install from source

With Go:

go install github.com/jskswamy/aide/cmd/aide@latest

Or clone and build. The build needs Zig 0.17.1 and CGO_ENABLED=1 for libghostty-vt; nix develop in the repository provides both.

git clone https://github.com/jskswamy/aide.git
cd aide && make build   # Builds static libghostty-vt via Zig and compiles ./bin/aide

Verify the install

aide --version

This prints the version, the commit and the build time. Then, in a project directory, ask aide what a launch would use there:

aide doctor

aide doctor reports the profile, sandbox and trust state for the directory and lists any problem with a fix. It changes nothing and never decrypts secrets. See aide doctor.

First commands

No config file is required. If one agent is on PATH with its API key in the environment, aide launches it sandboxed with no setup.

aide                        # Resolve profile and launch the agent (sandboxed)
aide config                 # Open the 5-area standalone configuration dashboard
aide --resume               # Resume the latest session for this directory
aide --with k8s,docker      # Enable capabilities for this session
aide cap list               # See all available capabilities

Getting started walks through the first launch and the first profile.

Upgrade

Run the installer again with the same INSTALL_DIR. It replaces the binary with the latest release. To move to a chosen release, or back to an older one, set VERSION as above. A go install or source build is upgraded by running the same command again.

After an upgrade, aide migrates older config formats on the next launch and keeps a backup first. See Upgrading from earlier gateways.