Introduction

This documentation is part of the Use the CLI guide. View the full guide here: Install and use the Stackhero CLI to manage your stacks and services from the command line, scripts, CI, and AI agents.

The Stackhero CLI is a lightweight, self-contained command-line tool that helps you manage your stacks and services right from your terminal. You can use it to create and delete services, access credentials, update configurations, and handle many other everyday tasks.

The CLI works on Linux (glibc and musl), macOS, and Windows. It ships as a single binary with no extra dependencies, which makes installation and updates simple.

Whether you are working interactively or automating workflows with scripts, CI pipelines, or AI agents, the Stackhero CLI is built for both people and automation. Every command supports the --format=json flag for machine-readable output, along with --format=script when you want to capture raw values in shell variables.