CLI Overview
The Islo CLI provides commands for managing secure sandboxes, authenticating, and configuring your development environment.
Command Groups
| Group | Description |
|---|---|
| Authentication | Login, logout, and integrations |
| API Keys | Programmatic auth for CI and scripts |
| Project Setup | islo init and islo add |
| Sandbox Operations | Use, pause, stop, remove, and list sandboxes |
| Agent Integration | Run AI agents in sandboxes |
| Automations | factory lines, jobs, schedules, and triggers |
| Snapshots | Save and restore sandbox state |
| Gateways | Network policies and credential injection |
| Sharing | Share sandbox ports with others |
| Utilities | doctor, switch, update, completions, schema |
| Configuration | Project configuration with islo.yaml |
| Troubleshooting | Common problems and fixes |
Global Options
These options are available for all commands:
| Option | Description |
|---|---|
--help, -h | Show help for any command |
--version, -V | Show Islo version |
-o, --output | Output format: table (default) or json |
--no-color | Disable colored output |
Quick Reference
Authentication
islo login # OAuth login via browserislo logout # Clear stored tokensislo switch # Switch between tenants/organizationsislo login --tool github # Connect GitHub integration
API Keys
islo api-key create my-key # Create API key (copied to clipboard)islo api-key create my-key --expires 90 # Expires in 90 daysislo api-key list # List all API keysislo api-key delete <id> # Delete an API keyislo api-key deactivate <id> # Temporarily disableislo api-key activate <id> # Re-enableISLO_API_KEY=... islo use ... # Use API key for auth
Sandbox Operations
islo use [name] # Use sandbox (create if needed, open shell)islo use [name] -- <cmd> # Use sandbox and run commandislo use --source github://o/r # Clone repo into sandboxislo use --snapshot my-snap # Create sandbox from snapshotislo use --gateway-profile prod # Use with gateway profileislo use --environment prod # Apply a named reusable environmentislo use --list-sessions # List active sessions in sandboxislo use --new-session # Start a new sessionislo use -s mysession # Connect to specific sessionislo stop <name> [-f] # Stop sandbox (keeps in list)islo pause <name> # Pause running sandbox (snapshot state, free resources)islo resume <name> # Resume paused sandboxislo rm <name> [-f] # Remove sandbox completelyislo ls # List all sandboxesislo ls --all # List all sandboxes in teamislo ls --status deleted # Filter by status
Environments
islo environment listislo environment get productionislo environment create --name production --variable PUBLIC_FLAG=enabledislo environment patch production --secret OPENAI_API_KEY="$OPENAI_API_KEY"islo environment remove production
Use environment names with islo use --environment <name> and environment: in islo.yaml.
Agent Integration
islo use --agent claude # Run Claude Code in sandboxislo use --agent cursor # Run Cursor agentislo use --agent claude --task "prompt" # Background taskislo login --tool claude # Connect Anthropic integration
For agent-authored islo automations, point the agent at islo-labs/skills (factory-lines + platform).
Automations
islo schema factory --short # line.toml schemaislo schema job --short # job.toml schemaislo job init <name> # Scaffold a stage (or standalone) jobislo factory line deploy line.tomlislo factory line run <name> --param KEY=VALUEislo factory line-run status <run-id>
Use Automations for factory lines. Put schedules on the line [trigger]. Standalone job.toml [schedule] is only for single-stage jobs with no routing.
Sharing
islo share <name> [port] # Create shareable URLislo share <name> [port] --ttl 1h # Share with expirationislo shares <name> # List active sharesislo unshare <name> <slug> # Revoke a share
SSH Access
islo ssh --setup # Configure SSH for sandbox accessssh my-sandbox.islo # Connect via SSH (after setup)
Logs & Debugging
islo logs <name> # View agent sessions (default)islo logs <name> --type exec # View exec command logsislo logs <name> --type interactive # View interactive sessionsislo logs <name> --follow # Stream logs liveislo logs <name> --tail 100 # Show last 100 entriesislo logs <name> --since 2h # Logs from last 2 hoursislo logs <name> <session-id> # View specific session
Port Forwarding
islo port-forward <name> 8080 # Forward local 8080 to sandbox 8080islo port-forward <name> 3000:8080 # Forward local 3000 to sandbox 8080islo pf <name> 5432 # Alias for port-forward
Snapshots
islo snapshot save <name> # Save snapshot of running sandboxislo snapshot save <name> --name x # Save with custom nameislo snapshot ls # List all snapshotsislo snapshot rm <name> # Delete snapshot
Configuration & Setup
islo init # Scaffold islo.yaml (interactive or --template)islo add # Detect project signals and add setup scriptsislo add <tool> [ver] # Append a setup_scripts entry from a built-in recipeislo status # Show auth, integrations, project config, and your sandboxesislo status <name> # Get sandbox details
Utilities
islo update # Update CLI to latest versionislo update --check # Check for updates without installingislo doctor # Check system health and configislo schema # Machine-readable CLI schema (for AI agents)islo schema <command> # Schema for specific commandislo completions install # Setup shell completions