The Kosli CLI records and queries software delivery events with Kosli, giving you a tamper-evident record of how your software was built, tested, and deployed.
With it you can:
- Fingerprint artifacts — compute the SHA256 of files, directories, and OCI/Docker images.
- Record attestations and evidence — bind test results, security scans (Snyk, SonarQube), pull-request approvals, Jira issues, and custom evidence to your flows and trails.
- Snapshot running environments — report what is actually running in Kubernetes, ECS, Lambda, S3, Docker, Azure Web Apps, GCP Cloud Run, servers, and filesystem paths.
- Query and assert compliance — search and diff snapshots, and gate your CI/CD pipelines with
kosli assertcommands.
See the documentation site for the full command reference and usage guides.
Install with whichever method suits your platform. After installing, run kosli version to verify.
curl -sSL https://raw.githubusercontent.com/kosli-dev/cli/main/install-cli.sh | shThe script detects your OS and architecture and installs the matching release binary into a directory on your PATH. To install a specific version, pass the tag as an argument:
curl -sSL https://raw.githubusercontent.com/kosli-dev/cli/main/install-cli.sh | sh -s -- v<X.Y.Z>brew install kosli-cliUpgrade later with brew upgrade kosli-cli.
npm install -g @kosli/cli
npx @kosli/cliis not supported —npxskips the optional platform dependency, so install the package first.
docker run --rm ghcr.io/kosli-dev/cli:v<X.Y.Z> versionImages are published to ghcr.io/kosli-dev/cli for each release tag.
Every release ships prebuilt archives, .deb/.rpm packages, and checksums on the GitHub Releases page. Download the archive for your OS and architecture, extract it, and move the kosli binary onto your PATH. For example, on Linux amd64:
curl -L https://github.com/kosli-dev/cli/releases/download/v<X.Y.Z>/kosli_<X.Y.Z>_linux_amd64.tar.gz | tar xz
sudo mv kosli /usr/local/bin/
kosli versionArchive names follow kosli_<X.Y.Z>_<os>_<arch>.tar.gz for Linux and macOS, and kosli_<X.Y.Z>_windows_<arch>.zip for Windows. See the install docs for the complete list of options.
make build # produces ./kosli
./kosli versionSee the developer guide for full build details, including Windows.
- Documentation site for full details on usage.
- Developer guide for details on working with the code in this repo.
- Kosli main Trails
- Kosli release Trails