Installation¶
Requires Git and Docker Engine 26+ (or Rancher Desktop); other engines are untested. The microVM runtime has its own requirements.
# Linux / macOS
curl -fsSL https://raw.githubusercontent.com/dylanvgils/agentic-cli/main/install.sh | bash
# Windows (PowerShell)
Invoke-RestMethod https://raw.githubusercontent.com/dylanvgils/agentic-cli/main/install.ps1 | Invoke-Expression
Or from a clone:
git clone https://github.com/dylanvgils/agentic-cli.git
cd agentic-cli
./install.sh # Linux / macOS
.\install.ps1 # Windows (PowerShell)
The installer fetches the latest release for your platform and verifies its checksum, and its signature if cosign is installed.
Windows: if running scripts is disabled, set the execution policy for your user:
Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy RemoteSignedOr bypass it once:
powershell -ExecutionPolicy Bypass -File .\install.ps1
On Linux/macOS the binary goes to ~/.local/bin. Add it to your PATH if needed:
export PATH="$HOME/.local/bin:$PATH"
On Windows the installer adds it to your user PATH; restart your terminal.
Verifying a release¶
Releases from v0.53.0 on sign checksums.txt (covering the archives and SBOMs) with cosign keyless signing. With cosign installed, the install scripts and agentic upgrade verify it and fail on a missing signature. To verify by hand:
- Download
checksums.txtandchecksums.txt.sigstore.jsonfrom the release, plus the archive you want. - Verify the signature:
cosign verify-blob \
--bundle checksums.txt.sigstore.json \
--certificate-identity https://github.com/dylanvgils/agentic-cli/.github/workflows/nightly-release.yml@refs/heads/main \
--certificate-oidc-issuer https://token.actions.githubusercontent.com \
checksums.txt
- Check the archive against the signed checksums:
sha256sum --check --ignore-missing checksums.txt
Uninstalling¶
To uninstall and remove all agentic data:
# Linux / macOS
curl -fsSL https://raw.githubusercontent.com/dylanvgils/agentic-cli/main/install.sh | bash -s -- --remove
# Windows (PowerShell)
& ([scriptblock]::Create((Invoke-RestMethod https://raw.githubusercontent.com/dylanvgils/agentic-cli/main/install.ps1))) -Remove
Or from a clone:
./install.sh --remove
.\install.ps1 -Remove
Updating¶
agentic upgrade # update to latest
agentic upgrade --force # reinstall even if already up to date
agentic upgrade --version v1.2.0 # install a specific release
agentic also checks for a new release once a day and offers to upgrade.
Building from source¶
./install.sh --from-source # Linux / macOS
.\install.ps1 -FromSource # Windows (PowerShell)
Or, with Go installed:
make install # builds and installs to ~/.local/bin/agentic
make uninstall # removes the binary