Interactive mode
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.
Run stackhero with no argument in a terminal, and the CLI opens a full screen interface that you drive with the keyboard. It is organized like your dashboard, so you find your way at once:
- Home: your organizations with their stacks, services, and available updates, plus your account and the store.
- Updates: every service that has an update waiting, in one list. Select one and press
Enterto install it. - Organization and stack: their stacks and services, with the actions that fit, such as creating a stack or adding a service.
- Service: its status, its CPU, RAM, and disk usage, and its logs, refreshed live, next to the actions you can run on it.
Every change asks for a confirmation first. At the bottom of the screen, the CLI always shows the equivalent command line: run something once in the interactive mode, then copy the command into your scripts.
The interactive mode starts only when there is a terminal and no argument. With an argument, in a pipe, in a CI job, or with an AI agent, the CLI works as a regular command line tool. To see the list of commands, run stackhero --help.