Interactive mode

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.

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

  • Home: your organisations with their stacks, services, and available updates, as well as your account and the store.
  • Updates: all services with a pending update, in a single list. Select one and press Enter to install it.
  • Organisation 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, refreshed 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 behaves as a standard command-line tool. To see the list of commands, run stackhero --help.