Harness CLI

One CLI. Every capability.
Built for humans and agents.

10Core verbslist · get · create · update · delete · execute
10+Harness productsCI, CD, IaC, Governance…
60+Resource typespipelines, connectors, secrets…
8Output formatsjson · table · jsonl · csv · tsv · md · text

Powerful, consistent DevSecOps automation

Whether you want to run a pipeline, add an artifact to the registry, or run worker agents, use the same grammar.

Three things that make it different

Agent-Ready

Closed grammar + stable JSON contracts give agents a deterministic action surface they can introspect and rely on.

Consistent

One grammar across 10+ harness products. The flags you learn for pipelines work exactly the same for connectors, secrets, and policies.

Scriptable

--format json on every command. Pipe into jq, feed into notebooks, or wire directly into CI scripts without glue code.

Ten verbs. Unlimited reach.

list, get, create, update, delete, execute: one grammar across every Harness module.

Predictable by design. New modules add nouns, never new verbs. Learn it once, use it everywhere.

Self-documenting. list noun --matrix exposes the full verb × noun grid. No docs required.

Consistent scoping. --level account | org | project works the same on every noun.

Runtime extensible. The CLI reads each module's spec at runtime: no per-module code paths.

Built for every workflow

One CLI for agents and humans

A deterministic action surface for LLM-powered automation

Agents read the grammar the same way humans do: discover the matrix, pick a verb, run the command. Every output is structured. Every flag means the same thing everywhere.

list noun --matrix returns the full capability grid as structured data for agent context

Closed grammar means no ambiguous command surfaces, so agents don't hallucinate flags

Predictable exit codes and JSON contracts make tool-call parsing reliable across LLMs

Get Started

Install in 30 seconds

macOS (arm64 & amd64) and Linux (amd64 & arm64), one installer.

Quick Install · macOS & Linux
$ curl -fsSL https://raw.githubusercontent.com/harness/cli/main/install.sh | sh
macOS
arm64 & amd64
# brew install harness

Homebrew support is Coming Soon

Upgrade in Place
$ harness install cli
Read the docs →View on GitHub