Skip to main content
aiv is the AI Vision command-line client for sign-in, Agent integration, queries, and deployment. Installing the client does not start platform services. It requires neither Docker, an AI Vision sign-in, nor a Skill. On Linux and macOS, use the CLI for supported Agent integrations. The web-generated aiv connect command needs the client on the machine that runs the Agent. A command with temporary installation authorization can run without aiv auth login. See Connect your first Agent. For remote operations on an existing platform, follow the Windows x64 steps.

Choose a fixed public release

The commands use v0.6.0-daily.20261123.2, a published Daily pre-release. To use another version, open its page in Ant AI Vision Releases and copy the full version tag. Check that it includes both your platform archive and SHA256SUMS. Use the same full tag for every download. For platform deployment, use the CLI, release-manifest.json, configuration and service images from the same version. For distributed Docker, the example release provides release-images.vars.yaml for OceanBase CE and release-seekdb.vars.yaml for seekdb. See Docker deployment for verification and commands.

Linux and macOS

Keep the installed ~/.local/bin/aiv and make aiv available directly in new terminals; the extracted copy in the download directory is not the long-term entry point. These manual steps also work with older release installers that only print a PATH hint. An installer cannot change its parent terminal: the current terminal still needs the one-time export below, followed by persistent configuration. Updated source alone does not establish that a downloaded installer configures PATH automatically.

1. Create a download directory and select your platform

You need curl, tar, awk, install, and either sha256sum or shasum. Run the installation steps in one terminal to retain AIV_RELEASE_TAG and AIV_PACKAGE. If you chose another release, replace the tag before running the command.
Run the package assignment for this machine’s operating system and CPU architecture.

2. Download the archive and checksum file

Download the selected archive and SHA256SUMS from the versioned Release selected by AIV_RELEASE_TAG. This step does not install anything.
These public downloads require no GitHub sign-in. If a download fails, check network access, the exact tag and the file name on the Release page before retrying in a new empty directory.

3. Verify only the selected archive, then install

SHA256SUMS also lists other platforms and release assets. The command below selects exactly one record for your archive. It does not require downloading or checking the other assets. A failed checksum, missing record, or duplicate record stops extraction and installation.
Success: the checksum displays your archive name and OK, then command -v aiv points to ~/.local/bin/aiv. With the example tag, aiv --version reports 0.6.0-daily.20261123.2. If it differs, check the resolved binary path and download source first. The export applies to this terminal.

4. Configure PATH for new terminals

Open the configuration file for your shell in a text editor. Keep its existing contents and append the following line. Do not add it again if the same setting is already present:
Save the file and open a new terminal window, then run:
The resolved path must be the installed ~/.local/bin/aiv, followed by its version. Run this check in the new terminal; a successful export in the installation terminal does not prove persistent PATH configuration. If you still see command not found, check the shell used by the new terminal and the configuration it reads. After verification, you can remove the downloaded archive, checksum files, and extracted copy from the temporary directory; keep ~/.local/bin/aiv. See download troubleshooting for download failures. Before connecting, check the capabilities of the client resolved by this terminal:
Web-generated commands require --base-url, --space-id, --agent-uuid, and --installation-token in the help output. Keep the Agent UUID and temporary installation authorization together. Privacy mode also requires --collection-mode. If an option is missing or produces unknown flag or unknown option, use a release confirmed to include it or follow the source build steps, then check help again. Keep the authorization options when retrying. For platform deployment, also inspect aiv cast --help, aiv status --help and aiv logs --help, including support for the selected target. Docker / Compose use aiv redeploy and aiv destroy for rebuilding and stopping; Kubernetes updates by repeating cast and does not support those two lifecycle commands.

5. Continue with your goal

Windows x64

Use the Windows x64 client in PowerShell 7 for auth, space, key, and query against an existing AI Vision server. Use a supported Linux or macOS machine for Agent installation, and follow the deployment guide for the target host’s requirements. In PowerShell 7, run the block below. If you selected another release, replace $aivReleaseTag with its full tag. The commands download into a new temporary directory, verify that the released ZIP has exactly one matching checksum entry, and copy aiv.exe to %LOCALAPPDATA%\AI Vision\bin after SHA-256 verification. Close any running copy of aiv.exe before upgrading.
Open Windows Environment Variables and add the directory containing aiv.exe to your user Path. Keep existing entries. Open a new PowerShell window and run:
The path should end in AI Vision\bin\aiv.exe, and the example release reports 0.6.0-daily.20261123.2. If PowerShell resolves another installation, check the order of your Path entries. After the check passes, follow CLI queries to use an authorized SpaceKey against your existing platform.

Optional: build a CLI with seekdb support

The lightweight seekdb option for Docker requires a client with OB_BACKEND support. First check the installed CLI:
The template must contain OB_BACKEND. -o - prints to the terminal without creating or overwriting a variables file. If the command or entry is missing, choose a release with the required capability or build the Linux or macOS CLI from the verified public source below. Building requires Git, Go 1.24+, make and Python 3. This example uses the public release tag from ci. Its source commit is d4f81c3. Start in a directory where you can create ai-vision.
After confirming the installed path and OB_BACKEND in the template, continue with Docker deployment. The source build reports the tracked VERSION, which is 0.6.0 at this commit. To reproduce the published Daily deployment, use the Daily archive and matching service images. Check the database image’s architecture requirements for your target. For development, see the product CLI README. Optional Compose: default Docker is unchanged; current source also provides aiv ... --target compose. Compose requires Docker Compose 2.27+ and a matching CLI, without host Python or an additional control script. Use a release confirmed to contain this target, or build matching source and inspect aiv cast --help. OB_BACKEND alone does not establish target support.