CLI Walkthrough
Follow the commands your coding agent uses to plan, deploy, and update your App. To run the setup yourself, configure each resource.
Deploy with the CLI walks you through your first deployment with one prompt.
Connect your cloud and add a Location before deploying.
Open your project
Open your project folder in a coding agent that can read files and run terminal commands, such as Codex or Claude Code. Use the same project you’ve been building so your agent has the code and context it needs.
Blossom builds your code from a Git repository: a copy of your project saved on GitHub or another Git host. Your agent can help you publish your latest changes and connect a private repository.
Install and log in
Run these commands in your project’s terminal, or ask your agent to run them. Install on the machine where your agent runs:
curl -fsSL https://cli.blossom88.com/install.sh | sh
blossom login
Open the sign-in link and choose your Account and Location. Your saved login remembers both.
Install the Blossom skill so your agent knows the deployment commands:
blossom skill:install
To choose a specific agent, use --agent codex or --agent claude. Start a
fresh agent conversation in the same project after installation so it can
load the skill. See Install and Log In
for other setup options.
With a coding agent
Your agent checks the destination and prepares an App Plan, which describes the application Blossom will run. For a project using the default settings, the commands are:
blossom profile:show
blossom app_plan:create
The commands run from your project folder. For custom startup commands,
variables, or linked data, your agent can supply
App Plan settings with
--data app_plan.yml. It can also help you
add a database when your App needs one.
Review the plan with your agent:
| Check | What it means |
|---|---|
| Source | Your project and the version that will go live |
| Account and Location | Who owns the App and which region runs it |
| App and Environment | Your application’s name and its live copy, usually called production |
| Services and data | The website, any background workers, and the database your App needs |
Ask for changes or approve in the conversation: “Deploy it.” Your agent uses the plan’s ID to start the first deployment and follow its progress:
blossom app_plan:deploy --id app_plan-100 --follow
app_plan-100 is an example; your agent uses the ID Blossom returned. This
creates the App, its Environment, and Services together and starts deployment.
Watch it go live
Your agent follows the build and deployment, then gives you the App URL and a link to its Environment in Blossom. Open the App URL to use your application. In the Environment, open Activity to see each deployment step and its logs.
The terminal also prints the live URL beside App: when deployment finishes.
If a step needs attention, your agent can read its Activity and logs, explain
what happened, and propose a fix in the same conversation.
Keep building
Make your next change with the agent, then ask:
After pushing the code, your agent deploys the same Environment:
blossom environment:deploy --id environment-100 --follow
Your agent uses the Environment ID from the first deployment. App Plans
start new Environments; later updates use environment:deploy.
Configure each resource
Create the App, set up its Environment, and deploy it with individual CLI
commands. The examples use a Sinatra App named demo.
- Install and log in.
- Choose your cloud and Location.
- Create an App.
- Set up the Environment with a Git repository, a web Service, and variables.
- Deploy and follow the logs.
If you’re trying Blossom with a disposable project, clean it up when you’re done.
What You Get
- Your own project running as a Blossom App
- A public HTTPS URL to open and share
- Deployment progress and logs in the terminal and browser
- The same coding agent ready to build and deploy your next change