Overview
A unified command-line interface for managing Harness pipelines, artifacts, infrastructure, and platform resources.
Install and Upgrade
Install the Harness CLI on macOS or Linux, upgrade to new versions, and uninstall cleanly.
Authenticate
Log in to the Harness CLI, manage named profiles, set up authentication for CI, and enable shell completions.
Supported Resources
A complete matrix of every resource the Harness CLI supports and which actions are available on each one.
Global Flags and Output
Learn how to use global flags to control scope, output format, pagination, and behavior across all Harness CLI commands.
Harness CLI Commands
5 items
Troubleshooting
Learn how to diagnose and resolve common Harness CLI errors, understand exit codes, and enable debug logging for detailed request information.