Close the interactive session.
Section: Session control slash commands
Exit the CLI
text
text
/exitExplanation
`/quit` is also supported.
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.
Show or change the working directory
Inspect or switch directories mid-session.
Review current directory changes
Show or review edits in the working directory.