what is the difference between /quit and /exit slash commands?

Resolved 💬 3 comments Opened Dec 6, 2025 by JaySabva Closed Dec 6, 2025
💡 Likely answer: A maintainer (etraut-openai, contributor) responded on this thread — see the highlighted reply below.

Both slash commands instruct the user to exit the codex.

View original on GitHub ↗

3 Comments

etraut-openai contributor · 8 months ago

You can use either command to exit codex. /exit is simply an alias for /quit.

JaySabva contributor · 8 months ago

@etraut-openai, why do we have two commands that do the same thing?

etraut-openai contributor · 8 months ago

It's historical. Early versions of codex supported only /quit, but we received feedback that some users prefer /exit. We could go back and delete one of them, but this will be inconvenient for users who have gotten used to the current commands. Having an extra redundant command isn't doing any harm.