Commands overview
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.
To see the full list of available commands, run stackhero --help. For details on a specific command, try stackhero COMMAND --help.
Some commonly used commands include:
- Organisations:
organizations-list - Stacks:
stacks-list(add--organizationto show the stacks of a specific organisation),stack-create,stack-rename,stack-delete - Services:
services-list(add--stackto show the services of a specific stack),service-get,service-add,service-wait-for,service-logs,service-metrics,service-rename,service-restart,service-delete - Configuration:
service-configuration-get,service-configuration-set,service-configuration-example - Firewall:
service-firewall-get,service-firewall-set - Version updates:
service-updates-list,service-update - Backups:
service-backups-list,service-backup-rollback - Store:
services-store-list,instances-store-list,regions-list - Upgrades:
service-upgrade-instances-store-list,service-upgrade-instance - Account:
login,logout,whoami - Maintenance:
self-update
Commands that restart, update, restore, or delete something require confirmation. In scripts, add --confirm to skip the prompt.