ComputeSDK CLI
The compute command provides a local development server for ComputeSDK with sandbox environments and tunnel connectivity.
Commands
Section titled “Commands”compute
Section titled “compute”Start the compute server.
Flags:
--api-key <key>- API key for authentication--access-token <token>- Access token for authentication--help, -h- Help for compute--version, -v- Version for compute
compute start
Section titled “compute start”Start the compute server in the background using eixisting API key or access token.
compute stop
Section titled “compute stop”Stop the running compute server.
compute status
Section titled “compute status”Check the status of the compute server and show sandbox information.
Shows:
- Running status and PID
- Configured sandboxes and URLs
- Log file location and recent entries
- Magic authentication link (if auth enabled)
compute restart
Section titled “compute restart”Stop and restart the compute server with saved configuration.
compute logs
Section titled “compute logs”View compute server logs.
Flags:
--follow, -f- Follow log output (like tail -f)--lines, -n <number>- Number of lines to show (default: 50)
compute completion
Section titled “compute completion”Generate autocompletion script for the specified shell.
Usage:
compute completion bash- Generate completion script for bashcompute completion zsh- Generate completion script for zshcompute completion fish- Generate completion script for fishcompute completion powershell- Generate completion script for PowerShell
compute help
Section titled “compute help”Show help about any command.
Usage:
compute help- Show general helpcompute help [command]- Show help for specific command
Configuration
Section titled “Configuration”Config Location: ~/.compute/config.json
Log Location: ~/.compute/compute.log
Sandboxes: ~/.compute/sandboxes/