Interactive mode

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.

Run stackhero with no arguments in a terminal, and the CLI opens a full-screen interface you can navigate with your keyboard. It is organized like your dashboard, so you can find your way immediately:

  • Home: your organizations with their stacks, services, and available updates, plus your account and the store.
  • Updates: all services with pending updates, in a single list. Select one and press Enter to install it.
  • Organization and stack: their stacks and services, with the relevant actions, such as creating a stack or adding a service.
  • Service: its status, CPU, RAM, and disk usage, and its logs, updated live, alongside the actions you can perform on it.

Every change requires confirmation first. At the bottom of the screen, the CLI always displays the equivalent command line: run an action once in interactive mode, then copy the command into your scripts.

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 standard command-line tool. To see the list of commands, run stackhero --help.