Copilot CLI: Slash Commands, Shortcuts, Review, and Session Control/Show or change the working directory
Inspect or switch directories mid-session.
Section: Session control slash commands
Show or change the working directory
text
text
/cd ../other-projectExplanation
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
Clear conversation history
Start a fresh conversation in the current session.
Compact the conversation
Summarize earlier context to reduce token usage.
Review current directory changes
Show or review edits in the working directory.