> ## Documentation Index
> Fetch the complete documentation index at: https://docs.machine0.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Running Claude Code & Codex

Install machine0

```bash theme={"theme":"css-variables"}
curl -LsSf https://machine0.io/install.sh | sh
```

Give coding agents their own VM with root access, dedicated resources, and no local machine risk.

```bash theme={"theme":"css-variables"}
machine0 new agent --image ubuntu-24-04-loaded --size large
machine0 ssh agent

# Authenticate and start coding
claude login
cd ~/my-project
claude --dangerously-skip-permissions

# Or run Codex
codex --full-auto

# Sync code back locally
machine0 sync pull agent:~/my-project ./my-project

# Suspend when done to stop billing
machine0 suspend agent
```
