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

Command Reference

Host support: This fork supports macOS 27+ on Apple Silicon only. Linux guests remain supported.

isolate creates isolated VM environments for running Claude Code and Codex. Supported hosts are macOS 27+ Apple Silicon, using the Apple sandbox backend.

Global Flags

Flag Description
--config <path> Path to config file, .jsonc or strict .json (default: ~/.iso/config.jsonc). The selected file must exist.
-v, --verbose Increase log verbosity. Once for debug, twice for trace.
--output <text|json|jsonl> json prints one versioned iso.machine/v1 document on stdout and never prompts. Supported by capabilities, list, status, up, start, stop, destroy, ssh-config, code, zed and audit (iso capabilities lists them); any other command fails with UNSUPPORTED_MACHINE_OUTPUT. See machine-interface.md. jsonl is the iso.audit.stream/v1 line protocol of iso audit (audit.md); any other command refuses it with exit 2. Default text.
--quiet With --output json or jsonl, discard all stderr diagnostics.
--version Print version and exit.

Exit Status

Outcome Status
Success 0
Operational failure, a requested check or probe that failed (validate), or a host receipt that is not succeeded 1
Invalid syntax, incompatible flags, or a malformed value. Most are refused while parsing, before any configuration, network or VM work; a value that is well-formed but out of range for the host (such as a --ttl above 24h) is refused later with 1 2
A guest command run by exec, shell [NAME] -- COMMAND, an interactive shell/claude/claude-agents/codex session, run, host shell, host agent or host run that exits non-zero That command’s status
Such a command (or the ssh behind host forward) ended by a signal, or a session whose readiness proof was lost 1 (never 0)

A forwarded status can itself be 1 or 2; for these commands read it as the guest command’s result, not as iso’s own error class. ssh reports its own transport failures (for example a refused pinned host key) as 255, so 255 from these commands may come from ssh rather than the guest; its stderr says which.

Compatibility Spellings and Deprecations

Older spellings keep working with the same meaning, units and limits as before, with one exception: a host VM’s --disk-gib +20 used to mean 20 GiB and is now refused, as --disk +20 is. They are retired only in a release that announces it here first.

Canonical Older spelling (still accepted) Commands Notes
--vcpus --cpus host vm create, host vm resize
--mem (MiB) --memory-mib host vm create, host vm resize Plain MiB, as before
--disk (GiB) --disk-gib host vm create, host vm resize Absolute only on a host; +20 is refused there
--disk --size resize Absolute or relative (+20)
--guest-path --project code, zed, editor Always a path inside the guest
--guest-path --path host editor Always a path inside the guest
--forward-port GUEST[:HOST] positional LOCAL[:GUEST] host forward Reversed order; the forms cannot be mixed
--image IMAGE positional IMAGE host vm commit, host vm restore Giving both is refused
model show [NAME], model set MODE [NAME] model [NAME] [local|remote] model Deprecated; prints a note on stderr
(none) setup -y/--yes setup Deprecated; has no effect and prints a warning

Instance Name Resolution

Most commands accept an optional instance name. isolate resolves the target instance with three rules:

  • Zero instances exist. The command fails and tells you to run iso up.
  • One instance exists. The name is optional. isolate selects it automatically.
  • Multiple instances exist. The name is required. isolate lists available instances on error.

Topics

Was this page helpful?