Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Harness CLI Commands

Browse the Harness CLI command reference by module, with examples and flags for each resource and action.

The Harness CLI follows a consistent harness <verb> <noun> pattern across every module. Each page in this section covers one module: the resources it exposes, the actions each resource supports, and worked examples you can run from a terminal or a script.

Before you begin

Command reference by module

Module
Use it to
Page

Platform

Manage organizations, projects, users, roles, connectors, secrets, and delegates.

Continuous Delivery

Manage pipelines, executions, triggers, templates, services, environments, and infrastructure definitions.

Artifact Registry

Manage registries, push and pull artifacts, inspect versions, and run security scans.

Infrastructure as Code Management

Manage Terraform and OpenTofu workspaces, Ansible inventories and playbooks, and the module and provider registries.

Code Repository

Manage repositories, pull requests, branches, commits, tags, and checks.

GitOps

Manage Argo CD-backed agents, applications, clusters, repositories, and ApplicationSets.

Governance

Manage OPA policies, policy sets, and policy evaluation records.

Audit

Read the audit trail and inspect the YAML diff of a change.

Harness Worker Agents

List, inspect, create, and update Worker Agents from a wrapper YAML definition.

Resilience Testing

Manage load tests, test runs, scripts, and templates for JMeter, Locust, and k6.

Knowledge Graph

Explore the entity graph schema and run HQL queries.

Feature Management & Experimentation

Manage feature flags, segments, metrics, and their per-environment definitions.

Next steps

Last updated

Was this helpful?