Command Line Interface
Automate installs,
launches, and updates

The Solsta CLI brings the full power of Solsta to your terminal — no GUI required. Script deployments, automate updates, and integrate with your existing pipeline in minutes.

WindowsmacOSUbuntu
Terminal
$solsta_cli login prompt
✓ Authenticated as [email protected]
$solsta_cli local install \
--product_name=LlamaCraft \
--env_name=dev-daily \
--location=c:/builds/llamacraft/
✓ Installed LlamaCraft / dev-daily
$solsta_cli local launch \
--launch_name="Launch Debug Tool" \
--location=c:/builds/llamacraft/
✓ Launched
# 0 clicks. Full automation.
Quick Start
Download, sign in, and see what's available

Get the CLI ready so you can install. You cannot install an environment that does not exist yet,
so step three is finding out what you have access to.

Names are case-sensitive.--product_name=llamacraft will not match a product named LlamaCraft. Always use product read to get exact values.

Core Commands
Everything you can do from the terminal

Every command supports help as a subcommand. Append --out=json,minify to any session for machine-parseable output.

Skills
Automate further with Skills

Pre-built scripts that combine Solsta CLI commands to handle common studio workflows.

Authentication
Two ways to authenticate

Choose user login for individual developers, or machine credentials for unattended automation. Tokens are stored in your OS credential manager.

Stay logged in. If the CLI runs at least once every 30 days, your token refreshes automatically. Create a scheduled local read task to keep tokens active on machines that sit idle.

M2M tokens expire after 24 hours. Use them in CI/CD pipelines where a fresh token is generated per job. See Machine Credentials in your Solsta Desktop Application to create and manage credentials.

solsta_cli login prompt

Opens a browser window. Authenticates via your org's login page. Token refreshes every session. Valid for 30 days of inactivity.

No flags required
Output & Debugging
Machine-readable output and exit codes

Every CLI session exits with a code. Combine --out=json,minify with your parser to integrate Solsta into any automation workflow.

Exit codes
CodeMeaning
0Success — operation completed without errors
1Help displayed — no operation was run
2Error — check the error section for details
3Elevation required — rerun as administrator. Occurs when installing to protected directories such as C:\Program Files\

Suppress expected errors with --expected. Converts a known non-fatal error code from exit 2 to exit 0. Accepts a single value or comma-separated list.

# Nothing installed at location - suppress the 404 and exit cleanly solsta_cli local update \ --location=c:/builds/lc/dev/ \ --product_name=LlamaCraft \ --env_name=dev-daily \ --expected=404
Output flags
FlagBehavior
--out=jsonFormats all session output as JSON
--out=minifyRemoves line breaks for single-line output
--out=json,minifySingle-line JSON — ideal for log parsing
--status_interval=NPrint progress every N seconds (default: 30). Use -1 to disable, 0 for immediate
--debugfileWrites solsta_cli.log to your desktop
--debugWrites log to the OS-default Solsta log directory
Orchestration
Manage downloads across your network

The Solsta Orchestration Service queues and throttles installs across shared networks to prevent bottlenecks. All download operations flow through the queue automatically.

Using the CLI and GUI together. The Solsta CLI and Desktop Application are designed to coexist on the same machine. However, the GUI does not reflect CLI changes in real time — restart the GUI to see updates made by the CLI. If both run simultaneously, the GUI may occasionally pick up CLI operations from the orchestration service. This won't cause issues, but using --queue to schedule operations outside of GUI sessions is the safest approach.