Skip to content
isolate
Esc
↑↓navigate↵open⌘Jpreview
On this page

Getting started

Run your first coding agent in a Linux VM on macOS 27+ Apple Silicon.

Prerequisites

  • macOS 27 or later on Apple Silicon.
  • Apple’s container service and the supported guest kernel. Follow the Apple backend prerequisites, then start the service with container system start.
  • An agent API key or account. See Claude Code or Codex for authentication options.

Install

Install the latest release:

curl -fsSL https://raw.githubusercontent.com/chr33s/iso/main/install.sh | bash

The installer verifies signed release checksums and, when gh is installed, build provenance. For manual verification, source builds, or switching from upstream, see installation.

First run

1. Build the template

iso setup

Setup writes ~/.iso/config.jsonc if it is missing and builds the default Linux image with Docker, git, Claude Code, and Codex. VM state lives under ~/.iso/. Rerunning setup skips completed work.

By default the guest reaches the model provider only through the credential proxy (proxy.mode: "required"), so store a provider credential before starting a project:

iso proxy setup            # Claude: a `claude setup-token` token, or --api-key
iso proxy setup --openai   # Codex: an OpenAI API key

Without a provider proxy, iso up stops before creating the VM.

2. Start your project

cd ~/code/my-project
iso up

This creates a VM and copies the project into /workspace. Running iso up again reuses the instance or restarts it after a stop.

3. Connect

Launch either agent:

iso claude
# or
iso codex

Agents run with permission bypass enabled inside the VM. The VM is the isolation boundary. The proxy injects the provider credential on the host; the guest never receives it. Host ANTHROPIC_API_KEY and OPENAI_API_KEY reach the guest only with an explicit relaxation (the networked preset, or proxy.mode "auto" or "off" with egress enabled) and no proxy for that provider; account sign-in is covered in the agent guides above.

For a shell, use iso shell. Exit the agent or shell to return to the host; the VM keeps running. iso status shows its state and resource usage.

4. Bring changes back

From the host, review guest changes before applying them:

iso pull --review

The command prints the diff and a stage ID. After reviewing the changes, apply that stage:

iso pull --apply --stage-id <stage-id>

Use iso push to send later host edits into the guest. See workspace sync for exclusions and conflict behavior.

5. Stop the VM

iso stop

Stopping preserves the disk. Next time, run iso up from the same project directory. To delete the VM when you have saved its work, run iso destroy.

These examples assume one instance. With several instances, specify the name for commands such as iso shell and iso stop; see running multiple instances.

Next steps

Was this page helpful?