CLI

The CLI is a thin shell over the same public API the website uses.

Install and update

Install from the staging website installer, which proxies the latest CLI release bundle.

curl -fsSL https://agentcomputer.ai/install.sh | bash

If you use Nix, run nix run github:AgentComputerAI/computer-cli or install it with nix profile install github:AgentComputerAI/computer-cli.

CommandDescription
curl -fsSL https://agentcomputer.ai/install.sh | bashInstall the latest published CLI bundle through the website install route.
computer helpRead the live command tree on your computer.
computer upgradeUpdate the installed CLI.

Auth commands

Use these commands to sign in, inspect the current account, and manage the local credential cache.

CommandDescription
computer loginOpen the browser login flow and store a local API key.
computer login --api-key ak_...Sign in directly when you already have an API key.
computer whoamiPrint the current authenticated account.
computer logoutRemove the locally stored API key.
computer claude-loginInstall Claude Code credentials onto a computer.
computer codex-loginInstall Codex credentials onto a computer.

Computer commands

Create, inspect, list, update, and delete computers.

CommandDescription
computer create my-computerCreate a computer with the default size preset (ram-2g: 2 GiB RAM, 5 GiB storage).
computer create my-computer --size ram-4gCreate a computer with a specific size preset.
computer create my-computer --memory 16 --storage 50Create a computer with custom RAM and storage in GiB.
computer create my-mac --os macosCreate a macOS computer. macOS boots as a full VM and is accessed through VNC.
computer create --interactiveCreate a computer with an interactive preset picker.
computer lsList your computers.
computer get my-computerInspect one computer in detail.
computer rm my-computerDelete one computer.
computer power-off my-computerStop a computer without deleting its stored state.
computer power-on my-computerRecreate a computer runtime against the same stored state.

Image commands

List and inspect available computer images.

CommandDescription
computer image lsList available computer images.
computer image get <image-id>Inspect one computer image.

Access commands

Use access commands to open browser surfaces, connect through SSH, sync files, and publish ports.

CommandDescription
computer open my-computerOpen the primary app surface in the browser.
computer open my-computer --vncOpen the managed desktop surface in the browser.
computer ssh my-computerConnect over SSH.
computer ssh my-computer --tmuxAttach or create a persistent tmux session on connect.
computer sync ./my-projectCopy a local file or directory into /home/node on a computer over SCP.
computer ports ls my-computerList the published ports on a computer.
computer ports publish my-computer 8000Publish one port with a stable public URL. Public by default — reachable without an access session, suitable for webhooks.
computer ports publish my-computer 8000 --privatePublish one port that requires an access session.
computer ports rm my-computer 8000Remove one published port.

Share and snapshot commands

Shares and snapshots are first-class CLI primitives.

CommandDescription
computer shares ls my-computerList active shares for a computer.
computer shares create my-computer --email user@example.comCreate an email share for a computer.
computer shares create my-computer --expires 24hCreate a direct share link for a computer.
computer shares rm my-computer <share-id>Remove a share.
computer snapshot ls my-computerList snapshots for a computer.
computer snapshot create my-computerCreate a snapshot for a computer.
computer snapshot rm <snapshot-id>Delete a snapshot.
computer snapshot restore <snapshot-id> restored-computerRestore a snapshot into a new computer.