Cmd. /cd
Track the 0.149.0 working-directory commands and verify their live behavior in the installed slash-command help.
Key takeaways
- Track the 0.149.0 working-directory commands and verify their live behavior in the installed slash-command help.
- Check the input surface and availability before using the examples below.
Purpose
Track the 0.149.0 working-directory commands and verify their live behavior in the installed slash-command help.
/cd <path>Availability
| Field | Value |
|---|---|
| Input surface | Running CLI prompt |
| Kind | Built-in |
| Status | Release-tracked |
| Aliases | — |
| Documented minimum | Not specified |
| Reviewed against | 2026-09-22 · Codex CLI 0.155.1 |
| Release evidence | v0.150.0 |
This entry is absent from the current command table or tracked separately through releases. Check the evidence and installed build.
Examples
/cd ../sharedWhen to use it
- Inspect
/cdin the installed slash picker before moving a live monorepo task. - Inspect
/pwdand/cwdseparately and record the reported cwd before resuming or queueing work.
Choosing related commands
| Command | Difference | Choose It When |
|---|---|---|
/cd <path> | Changes the active directory | The same task must move to another work root |
/pwd, /cwd | Release-note companions; exact relationship is not yet specified in the reference | You need to inspect the live build's directory context |
/new [name] | Starts a new task | Both directory and conversation context should split |
Effects and persistence
Changes the session's working directory. Check the resulting path and project settings.
The 0.149.0 release note says /cd, /pwd, and /cwd manage the working directory. It does not
document each command's exact syntax, output, or alias relationship, and the current Developer
Commands reference has not caught up. In a 0.149.0+ build, open the slash-command picker and follow
its inline signature before moving a live task.
Cautions
- Prefer an absolute path when ambiguity matters; the current reference does not publish relative-path resolution details.
- Moving directories does not bypass trust or managed deny-read policy.
- On 0.151.0+, regression tests should confirm the same deny-read and writable-root boundaries before and after
/cd. - A new project's
AGENTS.mdbecomes an instruction source only after the project is trusted. - Do not automate against a presumed
/pwdor/cwdoutput format until the reference documents it.
Documentation status
This page intentionally separates release evidence from reference evidence. The 0.149.0 changelog confirms the command group; the current Developer Commands inventory does not yet list these three entries. The installed slash picker is therefore the final source for build-specific behavior.
Official sources
Complete command list · Verification scope · History for this command