environments
Manage environments (distinct control plane API URLs). Environments determine which profiles are shown and where auth/project actions apply.
llamactl environments [COMMAND] [options]Commands:
get [API_URL] [-o text|json|yaml]: List environments or show one environmentadd <API_URL>: Probe the server and upsert the environmentuse [API_URL]: Select the current environment; prompts if omitted in interactive modedelete [API_URL]: Remove an environment and its associated profiles
Notes:
- Probing reads
requires_authandmin_llamactl_versionfrom the server version endpoint. - Switching environment filters profiles shown by
llamactl auth getand used by other commands.
Commands
Section titled “Commands”llamactl environments get [API_URL]Shows a table of environments with API URL, whether auth is required, and the active environment. Pass API_URL to show one environment.
llamactl environments add <API_URL>Probes the server at <API_URL> and stores discovered settings. Interactive mode can prompt for the URL.
llamactl environments use [API_URL]Sets the current environment. If omitted in interactive mode, you’ll be prompted to select one.
Delete
Section titled “Delete”llamactl environments delete [API_URL]Deletes an environment and all associated profiles. If the deleted environment was current, the current environment is reset to the default.
See also
Section titled “See also”- Profiles and tokens:
llamactl auth - Projects:
llamactl projects - Getting started: Introduction
- Deployments:
llamactl deployments