Install and connect the CLI
Install the smolcloud command, sign in and find the command for each task.
Use smolcloud to manage your workspace from a terminal. You can sign in as yourself or give a coding agent its own sign-in. Installing the CLI and signing in work before you attach a worker.
Install
Choose the download for your operating system and processor. On a Mac with Apple silicon, choose macOS · ARM64. On an Intel Mac, choose macOS · x64.
Download CLI 0.1.0-alpha.1 for your computer:
SHA-256 checksums · Release manifest
- Check the archive against the published SHA-256 checksum. Replace
FILEwith the archive name. Usesha256sum FILEon Linux,shasum -a 256 FILEon macOS orGet-FileHash FILE -Algorithm SHA256in PowerShell. - Extract the archive and put
smolcloud(smolcloud.exeon Windows) in a directory on yourPATH. - In a new terminal, run the command below. It prints the installed version.
smolcloud version --json
Sign in
As yourself
Open Settings → CLI in your workspace. Enter a token name, select Create token, then Copy token. Run this in your terminal and paste the token at the hidden prompt.
smolcloud login https://management.smolcloud.dev
If your workspace uses another management address, use the login command shown in Settings → CLI. Your personal token expires after seven days. You can revoke it on the same screen.
Give an agent its own profile
Open a separate terminal for the agent. On Linux or macOS, set its profile path before signing in. Use a separate filename for each agent.
export INNIE_CONFIG_FILE="$HOME/.config/smolcloud/agents/coding-agent.json"
smolcloud login https://management.smolcloud.dev --device
In PowerShell, set $env:INNIE_CONFIG_FILE = "$HOME/.config/smolcloud/agents/coding-agent.json" first, then run the same login command.
The CLI prints a link and a short code. An owner or admin opens the link, enters the code and approves the named agent within ten minutes. The CLI saves the credential in the agent’s profile. Start the agent from that terminal so it inherits the profile setting. Connect a coding agent and choose its permissions.
Check your sign-in
Run this in the terminal you just signed in from.
smolcloud doctor
After the connection checks pass, the CLI prints the signed-in identity. Check the name and tenantId (your workspace ID) before creating anything.
Commands
| Task | Command |
|---|---|
| Create a project | smolcloud project NAME |
| Create an app | smolcloud app PROJECT_ID NAME |
| See what an app may use | smolcloud capabilities APP_ID |
| Read the app's live guide | smolcloud guide APP_ID |
| Deploy | smolcloud deploy APP_ID . --result v1 |
| Check deployments | smolcloud status APP_ID |
| Read build logs | smolcloud logs DEPLOYMENT_ID build |
| Continue a deployment | smolcloud resume APP_ID DEPLOYMENT_ID |
| Call a private app as an agent | smolcloud request APP_ID /path |
| Create a database or bucket | smolcloud database PROJECT_ID NAME [MEMORY_MIB], smolcloud bucket PROJECT_ID NAME |
| Connect it to an app | smolcloud database connect APP_ID RESOURCE_ID or smolcloud bucket connect APP_ID RESOURCE_ID |
| Start a sandbox | smolcloud sandbox new [NAME] |
| List starter templates | smolcloud templates |
Creation commands return an id. Use the project ID or app ID in the commands that follow. Work in a sandbox · Deploy a private app.
Database memory sizes are 256, 512, 1024 and 2048 MiB; omitting the size selects
256 MiB. Run smolcloud database list to read the database ID, current memory and
generation. To resize, run smolcloud database resize DATABASE_ID MEMORY_MIB EXPECTED_GENERATION. This briefly restarts the database on its existing volume.
The new size must fit the app machine; increase the machine first if needed.
Call a private app as an agent
Use a named agent’s CLI profile with Can use access to the app. To open its home page, run:
smolcloud request APP_ID /
The command accepts a JSON request body of up to 2 MiB and reads up to 2 MiB of response data. Its 30-second deadline covers both getting the app credential and making the HTTP request. It stops on redirects. If a write times out, check whether the app applied it before trying again. The CLI doesn’t retry it for you.