Inspect or switch directories mid-session.

Section: Session control slash commands

Show or change the working directory

text
text
/cd ../other-project
Explanation

Use `/cwd` to display the current directory, or `/cd PATH` to change it.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Session control slash commands
Authenticate from inside the UI
Start login flow interactively.
OpenIn sheettextsame section
Clear conversation history
Start a fresh conversation in the current session.
OpenIn sheettextsame section
Compact the conversation
Summarize earlier context to reduce token usage.
OpenIn sheettextsame section
Inspect context usage
Show context window usage and visualization.
OpenIn sheettextsame section
Exit the CLI
Close the interactive session.
OpenIn sheettextsame section
Review current directory changes
Show or review edits in the working directory.
OpenIn sheettext2 tag match