Environment
The hanzo environment commands.
Also for this capability: API · CLI · MCP · SDKs
What a codebase is before its agent starts: the commands that install it, the command that starts it, and the secrets it reads.
hanzo environment listEvery command takes --json for the raw response and --help for its own flags. Sign in once with hanzo auth login; the commands below use that session, and the org they act in is the one it carries.
| Command | What it does |
|---|---|
hanzo environment get <repo> | Reads one codebase's environment. |
hanzo environment list | Lists every codebase in your org that has an environment. |
hanzo environment rm <repo> | Forgets one codebase's environment, and its secrets with it. |
hanzo environment set <repo> | Saves one codebase's install and start scripts. |
Secrets
| Command | What it does |
|---|---|
hanzo environment secrets rm <repo> <name> | Removes one secret from a codebase. |
hanzo environment secrets set <repo> <name> | Sets one secret on a codebase. |
Was this page useful?
Broken link or missing step? Drop it in #docs on Discord or open a PR.