Aider Commands

Complete Aider commands reference — 44 commands across 2 categories. Quick reference cheat sheet for Cross-platform (terminal).

Slash Commands (43)

ShortcutAction
/addAdd files to the chat so aider can edit them or review them in detail
/architectEnter architect/editor mode using 2 different models. If no prompt provided, switches
/askAsk questions about the code base without editing any files. If no prompt provided, switches
/chat-modeSwitch to a new chat mode
/clearClear the chat history
/codeAsk for changes to your code. If no prompt provided, switches to code mode
/commitCommit edits to the repo made outside the chat (commit message optional)
/contextEnter context mode to see surrounding code context. If no prompt provided, switches to context
/copyCopy the last assistant message to the clipboard
/copy-contextCopy the current chat context as markdown, suitable to paste into a web UI
/diffDisplay the diff of changes since the last message
/dropRemove files from the chat session to free up context space
/editAlias for /editor: Open an editor to write a prompt
/editorOpen an editor to write a prompt
/editor-modelSwitch the Editor Model to a new LLM
/exitExit the application
/gitRun a git command (output excluded from chat)
/helpAsk questions about aider
/lintLint and fix in-chat files or all dirty files if none in chat
/loadLoad and execute commands from a file
/lsList all known files and indicate which are included in the chat session
/mapPrint out the current repository map
/map-refreshForce a refresh of the repository map
/modelSwitch the Main Model to a new LLM
/modelsSearch the list of available models
/multiline-modeToggle multiline mode (swaps behavior of Enter and Meta+Enter)
/okAlias for /code Ok, please go ahead and make those changes. (any args are appended)
/pastePaste image/text from the clipboard into the chat. Optionally provide a name for the image
/quitExit the application
/read-onlyAdd files to the chat that are for reference only, or turn added files to read-only
/reasoning-effortSet the reasoning effort level (values: number or low/medium/high depending on model)
/reportReport a problem by opening a GitHub Issue
/resetDrop all files and clear the chat history
/runRun a shell command and optionally add the output to the chat (alias: !)
/saveSave commands to a file that can reconstruct the current chat session's files
/settingsPrint out the current settings
/testRun a shell command and add the output to the chat on non-zero exit code
/think-tokensSet the thinking token budget, eg: 8096, 8k, 10.5k, 0.5M, or 0 to disable
/tokensReport on the number of tokens used by the current chat context
/undoUndo the last git commit if it was done by aider
/voiceRecord and transcribe voice input
/weak-modelSwitch the Weak Model to a new LLM
/webScrape a webpage, convert to markdown and send in a message

Additional Shortcuts (1)

ShortcutAction
Ctrl + CStop
📄 View Printable Cheat Sheet — Download as PDF or print · 🧩 Combine with other tools

Related Shortcut Pages

Claude Code Cursor AI GitHub Copilot Cline Git Vim

Search 13,500+ shortcuts across 269 platforms

Explore All Platforms Practice Shortcuts

🤖 Ask AI about Aider shortcuts

Open your assistant with this page preloaded as the source — great for follow-up questions like "which of these work in other apps?"

ChatGPT Claude Perplexity Gemini Grok
📜 Every shortcut on this page is taken from the official Aider documentation — aider.chat
🔧 Spotted an error or a missing shortcut? Suggest an edit on GitHub — every accepted fix goes live on this page, the API and the CLI.