Blossom Docs
Blossom

Blossom CLI

Blossom CLI concepts and command reference

The Blossom CLI gives you a direct, scriptable way to manage Blossom resources from the terminal.

Log in and choose your Account and Location in the browser:

blossom login
blossom whoami

The current default Location is preselected and labeled Account default. Blossom saves its exact Location in a profile such as boltops-dev-blossom-launcher-falkenstein-x86. Changing the web default later does not move your CLI destination. Repeated login selects and refreshes the matching profile. Location profiles share one login.

Choose a saved Account or update names after an Organization or Account rename:

blossom profile:list
blossom profile:use
blossom profile:sync --dry-run
blossom profile:sync

profile:use opens a picker in a terminal. Scripts select explicitly with profile:use --name NAME. Bare blossom profile shows command help.

profile:list shows cached Account and Location names with Cloud or BYOC, without connecting. Refresh names and inspect the selected context, or another saved profile:

blossom profile:show
blossom profile:show --name work

Named inspection leaves your selection unchanged and uses that profile’s saved login and endpoint. Unavailable logins show saved values as unverified.

Sync normalizes automatically generated profiles from their Accounts. Custom profiles with friendly filenames keep their names and logins untouched. It reports unavailable logins and duplicates without removing profiles. Use --name NAME to limit sync; custom profiles are still left alone. Choose a custom alias:

blossom profile:rename --from boltops-dev-blossom-launcher --to work

Browser-created profiles keep their chosen Location. For a custom preset:

blossom profile:create --name work-europe --location location-100
blossom profile:use --name work-europe

The preset shares your login, remembers its Location and keeps its custom name during sync. Use profile:set to change a Location preference, or profile:set --default to follow the Account.

Over SSH, open the printed login URL on your own device. --no-browser always skips opening a browser. Login uses the selected profile’s endpoint; with no profile it defaults to https://app.blossom88.com. Set BLOSSOM_API_URL to choose another deployment. Identical names across Accounts, endpoints or users get separate profiles. Renew a specific profile with BLOSSOM_PROFILE=NAME blossom login; its name stays the same and browser login saves the chosen Location.

Profiles have stable local IDs and editable names. Renaming a profile keeps its login, Location and generated SSH/VS Code connection intact. Automatic profile files use profiles/profile-ID.yml. Renaming one saves a friendly filename, so sync preserves its custom name. Manually named YAML files use the same fields. Private logins use credentials/login-ID.yml, separate from settings and locks/. Profiles share a login through credential_id; keep that ID and its credential filename consistent when editing manually.

Use blossom --help for commands and blossom help:all for the full inventory.

The CLI expresses Product intent and evidence: Apps, Environments, Services, Builds, Domains, Capacity, managed Data, Activity, logs, metrics, and Container shell access.

Concepts

Reference

Use the CLI Reference for exact command syntax, flags, and examples.

On this page