CLI
Install the CLI and chat in 3 commands
Quickstart: CLI
Go from zero to streaming AI chat in under a minute.
### Install ```bash # macOS (Apple Silicon) curl -L https://github.com/archipelag-io/island-cli/releases/latest/download/island-darwin-arm64.tar.gz | tar xz sudo mv island /usr/local/bin/ # Or via Cargo cargo install --git https://github.com/archipelag-io/island-cli ``` {% details(summary="Other platforms") %} **macOS (Intel):** ```bash curl -L https://github.com/archipelag-io/island-cli/releases/latest/download/island-darwin-amd64.tar.gz | tar xz sudo mv island /usr/local/bin/ ``` **Linux (x86_64):** ```bash curl -L https://github.com/archipelag-io/island-cli/releases/latest/download/island-linux-amd64.tar.gz | tar xz sudo mv island /usr/local/bin/ ``` **Linux (ARM64):** ```bash curl -L https://github.com/archipelag-io/island-cli/releases/latest/download/island-linux-arm64.tar.gz | tar xz sudo mv island /usr/local/bin/ ``` **Windows:** Download from the [releases page](https://github.com/archipelag-io/island-cli/releases/latest). The zip contains `island.exe`. **Docker:** ```bash docker run --rm -e ARCHIPELAG_API_KEY=ak_xxx ghcr.io/archipelag-io/island-cli chat "Hello" ```
Authenticate
island auth login
Paste your API key when prompted. Get one from Settings → API Keys.
Chat
island chat "What is the capital of France?"
The response streams token by token, just like a chat interface.
{% end %}
What’s next?
# Check your credit balance
island account
# Browse available Cargos
island workloads list
# Submit a custom job with streaming output
island jobs submit --workload llm-chat --input '{"prompt": "Hello!"}' --stream
# View Islands on the network
island hosts list
# Check compute pricing
island market rates
# Subscribe to live NATS messages
island sail subscribe "host.*.heartbeat" --max 5
# Get JSON output for scripting
island jobs list --format json | jq '.[0].id'
For the full command reference, see the CLI documentation.
