spawn/sh/gcp/README.md
A c0cedc3887
docs: add missing agent entries to all cloud READMEs (#2494)
Junie was added to all 6 clouds (scripts + matrix) but none of the
READMEs documented it. Sprite README was also missing Hermes, and
local README was missing OpenCode and Junie.

All 6 cloud READMEs now list all 8 agents consistently.

Agent: code-health

Co-authored-by: B <6723574+louisgv@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-03-11 05:49:50 -04:00

80 lines
1.6 KiB
Markdown

# GCP Compute Engine
Google Cloud Compute Engine instances via gcloud CLI. [GCP Compute Engine](https://cloud.google.com/compute)
> Uses current username for SSH. Requires gcloud CLI installed and configured.
## Agents
#### Claude Code
```bash
bash <(curl -fsSL https://openrouter.ai/labs/spawn/gcp/claude.sh)
```
#### OpenClaw
```bash
bash <(curl -fsSL https://openrouter.ai/labs/spawn/gcp/openclaw.sh)
```
#### ZeroClaw
```bash
bash <(curl -fsSL https://openrouter.ai/labs/spawn/gcp/zeroclaw.sh)
```
#### Codex CLI
```bash
bash <(curl -fsSL https://openrouter.ai/labs/spawn/gcp/codex.sh)
```
#### OpenCode
```bash
bash <(curl -fsSL https://openrouter.ai/labs/spawn/gcp/opencode.sh)
```
#### Kilo Code
```bash
bash <(curl -fsSL https://openrouter.ai/labs/spawn/gcp/kilocode.sh)
```
#### Hermes
```bash
bash <(curl -fsSL https://openrouter.ai/labs/spawn/gcp/hermes.sh)
```
#### Junie
```bash
bash <(curl -fsSL https://openrouter.ai/labs/spawn/gcp/junie.sh)
```
## Non-Interactive Mode
```bash
GCP_INSTANCE_NAME=dev-mk1 \
OPENROUTER_API_KEY=sk-or-v1-xxxxx \
bash <(curl -fsSL https://openrouter.ai/labs/spawn/gcp/claude.sh)
```
## Custom VPC / Subnet
If your GCP project's default VPC uses **custom subnet mode** (common in enterprise or org-managed projects), set these env vars to override the default network/subnet:
| Variable | Default | Description |
|---|---|---|
| `GCP_NETWORK` | `default` | VPC network name |
| `GCP_SUBNET` | `default` | Subnet name |
Example:
```bash
GCP_NETWORK=my-vpc GCP_SUBNET=my-subnet \
GCP_INSTANCE_NAME=dev-mk1 \
OPENROUTER_API_KEY=sk-or-v1-xxxxx \
bash <(curl -fsSL https://openrouter.ai/labs/spawn/gcp/claude.sh)
```