Introduction
This documentation is part of the Manage services with the CLI guide. You can view the complete 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, standalone command-line tool that lets you manage your stacks and services directly from your terminal. You can use it to create and delete services, access credentials, update configurations, and handle many other routine tasks.
The CLI is compatible with Linux (glibc and musl), macOS, and Windows. It is distributed as a single binary under 3 MB, with no additional dependencies, making installation and updates straightforward.
Whether you work interactively or automate workflows with scripts, CI pipelines, or AI agents, the Stackhero CLI is designed for both human users and automation. Every command supports the --format=json flag for machine-readable output, as well as --format=script when you want to capture raw values in shell variables.