Install the Diakrin CLI
macOS and Linux (Intel/AMD and ARM)
One line
Open Terminal and run:
curl -fsSL https://diakrin.com/cli/install.sh | sh
With the Diakrin plugin for Claude Code, Cursor or Codex you never run this: the plugin installs Diakrin’s local engine and keeps it up to date. The engine never signs in; your AI tool connects to Diakrin with its own sign-in.
What the installer does
- Downloads the latest release from github.com/Diakrin/diakrin-cli.
- Checks the download against the release’s SHA-256 checksums before it unpacks anything.
- Installs into
~/.diakrinand adds thediakrincommand to~/.local/bin. It needs no administrator rights and sends no data about you. - Includes its own Node.js runtime, so you do not need to install anything else.
The command holds no access of its own. It does nothing until you sign in, and your company’s Diakrin decides what you may do.
Other ways to install
A specific version: curl -fsSL https://diakrin.com/cli/install.sh | sh -s -- --version 0.1.2
Developers with Node.js: the same line, curl -fsSL https://diakrin.com/cli/install.sh | sh (the CLI brings its own Node.js runtime).
Windows is not supported yet.
Verify a release (for IT and security teams)
Each release’s SHA256SUMS is signed with Sigstore by Diakrin’s release
workflow, with no long-lived signing key. With
cosign installed, the
installer verifies the signature automatically. Set DIAKRIN_REQUIRE_SIGNATURE=1 to make it
mandatory, or verify by hand:
cosign verify-blob SHA256SUMS --bundle SHA256SUMS.sigstore.json \
--certificate-identity https://github.com/Diakrin/diakrin-platform/.github/workflows/cli-release.yml@refs/tags/cli-v<version> \
--certificate-oidc-issuer https://token.actions.githubusercontent.com
The CLI is licensed under the terms in its LICENSE file; third-party components are listed in THIRD_PARTY_NOTICES.