Command-line interface for the OctaSpace decentralized compute platform.
Download the latest binary for your platform from the releases page and place it in your PATH.
Before using any commands, authenticate with your API token:
octa auth <token>The token is saved to ~/.config/octa/config.yaml and used automatically for all subsequent commands.
Show account information and balance:
octa account
octa account balanceocta computeSearch by CPU, GPU model, or country:
octa compute search "rtx 4090"
octa compute search "netherlands"
octa compute search "epyc"octa compute appsDeploy using an application from the marketplace — the Docker image is resolved automatically:
octa compute deploy --app <app-uuid> --node <node-id>Deploy with a custom Docker image:
octa compute deploy --node <node-id> --image ubuntu:22.04Override the image for a marketplace app:
octa compute deploy --app <app-uuid> --node <node-id> --image myrepo/myimage:latestSpecify disk size in GB (defaults to the app's minimum disk size):
octa compute deploy --app <app-uuid> --node <node-id> --disk 100Pass environment variables as a comma-separated list of KEY=VALUE pairs:
octa compute deploy --node <node-id> --image ubuntu:22.04 --envs MY_VAR=hello,ANOTHER=worldocta compute logs <session-uuid>Shows system logs (with timestamps) and container logs. Supports partial UUIDs.
octa compute connect <session-uuid>Supports partial UUIDs. Uses direct SSH by default, falls back to proxy if unavailable. Force proxy connection:
octa compute connect <session-uuid> --proxyocta sessionsocta sessions stop <session-uuid>Partial UUIDs are supported — you only need enough characters to uniquely identify the session:
octa sessions stop abc123octa vpn relay listocta vpn relay search <query>Filters relay nodes where the country or city contains the query string (case-insensitive):
octa vpn relay search ukraine
octa vpn relay search kyivUse --residential to show only residential nodes:
octa vpn relay search ukraine --residentialocta vpn relay set <node-id>The node ID, country, and city are saved to config and used for subsequent vpn connect and vpn status calls.
octa vpn relay getocta vpn connectSupported protocols: wg (WireGuard, default), ss (Shadowsocks), openvpn:
octa vpn connect --protocol wg
octa vpn connect --protocol ss
octa vpn connect --protocol openvpnDisplays node info, upload/download traffic, and charged amount:
octa vpn statusShow the VPN config as a QR code (for importing into a mobile app):
octa vpn status --qrShow the plain text VPN config:
octa vpn status --configRaw JSON output:
octa vpn status -o jsonMost commands support -o json for machine-readable output:
octa compute -o json
octa compute apps -o json
octa sessions -o json