Loom CLI
Open workspaces or run prompts headlessly from your terminal
What You Can Do
With loom, you can:
- Open the app with a workspace
- Run headlessly — execute a prompt without the GUI and get output in the terminal
Headless results are saved to sessions, so you can review or continue in the app. Combine with shell scripts, CI/CD pipelines, or cron to automate repetitive workflows.
Install
Install from the Loom app:
- Go to Settings → Account → Loom CLI
- Click Install
- Open a new terminal and run
loom --help
Quick Examples
# Open current folder as workspace
loom
# Open a specific workspace folder
loom /path/to/workspace
# Headless run
loom exec "Summarize TODOs in this project"
# Set model and output format
loom --model gpt-5 --json "Summarize recent changes"
Options
Execution
-C, --cd <dir>: workspace root (default: current directory)-m, --model <model>: choose model (default: workspace setting)--reasoning-effort <level>(--effort): reasoning hint (default: model default)
Output
--output-format text|json|stream-json: output format (default:text)text— final assistant message onlyjson— one structured JSON resultstream-json— JSONL event stream
--json: shorthand for--output-format stream-json
Session
-c, --continue: continue latest session in workspace (default: new session)--session-id <id>/-r, --resume <id>: continue a specific session
Mode Rules (Important)
loomandloom [path]open the desktop app by default.loom exec ...or headless options (--model,--json, etc.) switch to headless mode.- Bare positional input is treated as a path.
- Example:
loom "hello"is treated as a path, not a prompt.
- Example:
- If headless options are present, positional input is treated as a prompt.
- Example:
loom --model gpt-5 "hello"runs in headless mode.
- Example:
Troubleshooting
loom doctor: check CLI/app binary resolutionloom --help: show full option list