Getting started

Install

Install ota from release binaries first, and from source when you are developing it.

learnnew usersbasicstable2026-04-11

Release install

For most users, install the published binary. That keeps the setup path short and matches the public story.

  • Use OTA_VERSION for released proof.
  • Use OTA_GIT_REV when you need deterministic unreleased proof on one exact commit.
  • Use OTA_GIT_BRANCH only for active pressure testing, because it follows a moving branch tip.
macOS / Linuxbash
curl -fsSL https://dist.ota.run/install.sh | sh
Pin a releasebash
curl -fsSL https://dist.ota.run/install.sh | OTA_VERSION=vX.Y.Z sh
Track a pressure branchbash
curl -fsSL https://dist.ota.run/install.sh | OTA_GIT_BRANCH=1.6.21-implementation sh -s -- --from-git
Windows PowerShellpowershell
irm https://dist.ota.run/install.ps1 | iex
Pin a release (PowerShell)powershell
$env:OTA_VERSION = "vX.Y.Z"irm https://dist.ota.run/install.ps1 | iex
Track a pressure branch (PowerShell)powershell
$env:OTA_GIT_BRANCH = "1.6.21-implementation"& ([scriptblock]::Create((irm https://dist.ota.run/install.ps1))) -FromGit

From source

Use the source install path when you are working from a cloned checkout.

Install from sourcebash
./scripts/install.sh --from-source
Windows PowerShellpowershell
powershell -ExecutionPolicy Bypass -File .\scripts\install.ps1 -FromSource

After installation

  • Confirm the binary is available with ota --version.
  • Use ota --version --json when CI or tools need explicit build provenance (semver, source_build, commit, dirty) plus schema_version and contract_capabilities.
  • Treat schema_version as the coarse contract-generation marker and contract_capabilities as the additive feature-support catalog.
  • Run ota doctor in a repo before you write or execute tasks.
  • Use ota validate --help to confirm the CLI is available and responsive.
Post-install verificationbash
ota --versionota --version --jsonota doctor --plainota validate --help

Install the Ota skill

Install the skill after ota is already on PATH and the binary verifies cleanly.

The source of truth lives in ota-run/skills, and ota skills install writes that first-party distribution into the selected agent skill directory.

Codexbash
ota skills install --agent codex
Claude Codebash
ota skills install --agent claude