/exit
Exits Aider.
/exit ends the running Aider application. The command reference keeps the description as short as possible: "Exit the application" β the docs don't mention any additional arguments or options for it.
/exit has a documented twin: /quit. According to Aider's changelog, /quit was explicitly introduced "as alias for /exit" β both commands are therefore equivalent and end the program immediately, without confirmation. This is a pure program exit, not a reset of chat history or added files; the docs provide other commands for that.
You simply type /exit with no further arguments into the prompt line whenever you want to end your work with Aider for this session.
π THE SAME TASK (βEXITβ) ON OTHER PLATFORMS
β WHEN TO USE IT?
Cleanly end a session
Type /exit once all desired changes have been committed and you want to end the Aider session.
Free up the terminal for other tasks
Run /exit to leave the program and continue working with a different tool in the same terminal window.
β WHEN NOT TO?
Only reset the chat history, keep working with Aider
According to the docs, /exit ends the entire program, not just the history.
Better: Use /clear to clear only the chat history and continue in the same session.
SOURCES
- Aider Docs β In-chat commands β aider.chat
MORE COMMANDS Β· Aider