promptgarten ๐ŸŒฑ

Command reference ยท Codex CLI

/cloud

Runs the chat in the cloud (general Codex command reference).

/cloud runs the current chat in the cloud instead of locally, provided cloud execution is available โ€” the work then runs on remote resources provided by OpenAI instead of on your machine. This is how the general Codex command reference describes it, which applies across all Codex surfaces. Important: /cloud doesn't appear as an interactive slash command in the pure terminal CLI's own documentation. What the terminal CLI officially offers instead is the subcommand codex cloud (e.g. codex cloud exec, codex cloud list, codex cloud apply <TASK_ID>) โ€” this lets you start, list, and take over cloud tasks directly via normal command-line syntax instead of via a chat slash command. For you as a pure terminal user, codex cloud โ€ฆ is the documented way; /cloud belongs more to the general, composer-related command set.

โœ… WHEN TO USE IT?

Shift compute load from the local machine to the cloud, where /cloud is available as a slash command

/cloud

Start a cloud task or take over a result from the terminal CLI

codex cloud exec --env ENV_ID "fix tests" or codex cloud apply <TASK_ID>

โ›” WHEN NOT TO?

You want to use it directly as a slash command in the pure terminal CLI

According to the CLI-specific docs, /cloud isn't part of the terminal command list, but of the general Codex command reference.

Better: use the subcommand codex cloud (exec/list/apply/status/diff) in the terminal

The task needs your local files directly

In the cloud, the workspace isn't on your machine.

Better: /local or keep working locally in the terminal

SOURCES

MORE COMMANDS ยท Codex CLI

/local/cloud-environment/worktree/quit/model/permissions/status/plan/review/diff/resume/new

All commands ยท Codex CLI โ†’

Share:๐•in๐Ÿ’ฌ