Introduction

This documentation is part of the Manage your stacks and 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 enables you to manage your stacks and services directly from your terminal. You can use it to create and delete services, access credentials, update configurations, and perform many other routine tasks.

The CLI is compatible with Linux (glibc and musl), macOS, and Windows. It is distributed as a single binary of less than 3 MB, with no additional dependencies, making installation and updates straightforward.

Whether you are working interactively or automating 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 if you want to capture raw values in shell variables.