Skip to content
For agents
Browse guides

Install and connect the CLI

Install the smolcloud command, sign in and find the command for each task.

Open Markdown

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

  1. Check the archive against the published SHA-256 checksum. Replace FILE with the archive name. Use sha256sum FILE on Linux, shasum -a 256 FILE on macOS or Get-FileHash FILE -Algorithm SHA256 in PowerShell.
  2. Extract the archive and put smolcloud (smolcloud.exe on Windows) in a directory on your PATH.
  3. In a new terminal, run the command below. It prints the installed version.
Shell
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.

Shell
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.

Shell
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.

Shell
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

TaskCommand
Create a projectsmolcloud project NAME
Create an appsmolcloud app PROJECT_ID NAME
See what an app may usesmolcloud capabilities APP_ID
Read the app's live guidesmolcloud guide APP_ID
Deploysmolcloud deploy APP_ID . --result v1
Check deploymentssmolcloud status APP_ID
Read build logssmolcloud logs DEPLOYMENT_ID build
Continue a deploymentsmolcloud resume APP_ID DEPLOYMENT_ID
Call a private app as an agentsmolcloud request APP_ID /path
Create a database or bucketsmolcloud database PROJECT_ID NAME [MEMORY_MIB], smolcloud bucket PROJECT_ID NAME
Connect it to an appsmolcloud database connect APP_ID RESOURCE_ID or smolcloud bucket connect APP_ID RESOURCE_ID
Start a sandboxsmolcloud sandbox new [NAME]
List starter templatessmolcloud 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:

Shell
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.