Starting & Chat Modes

Action Shortcut
Install (Mac/Linux script · Windows PowerShell) curl -LsSf https://aider.chat/install.sh | shirm https://aider.chat/install.ps1 | iexcurl -LsSf https://aider.chat/install.sh | sh
Start Aider in your repo aideraideraider
Send your message EnterEnterEnter
Code mode — make changes to your code (default) /code/code/code
Ask mode — discuss code without editing files /ask/ask/ask
Architect mode — plan with a second model /architect/architect/architect
Help mode — ask questions about Aider /help/help/help
Switch the persistent chat mode /chat-mode <mode>/chat-mode <mode>/chat-mode <mode>
Launch with vi/vim keybindings aider --vimaider --vimaider --vim

Files & Context

Action Shortcut
Add files so Aider can edit them /add/add/add
Remove files from the chat to free context /drop/drop/drop
Add files as read-only reference /read-only/read-only/read-only
List known files and what's in the chat /ls/ls/ls
Print the current repository map /map/map/map
Report tokens used by the current context /tokens/tokens/tokens
Drop all files and clear chat history /reset/reset/reset
Clear the chat history /clear/clear/clear

Git

Action Shortcut
Commit edits made outside the chat /commit/commit/commit
Show the diff of changes since the last message /diff/diff/diff
Undo the last git commit Aider made /undo/undo/undo
Run a git command /git/git/git
Lint and fix in-chat or dirty files /lint/lint/lint

Models

Action Shortcut
Switch the main model /model/model/model
Search available models /models/models/models
Switch the editor model /editor-model/editor-model/editor-model
Switch the weak model /weak-model/weak-model/weak-model
Set the reasoning effort level /reasoning-effort/reasoning-effort/reasoning-effort

Run, Web & Voice

Action Shortcut
Run a shell command, optionally add output (alias !) /run/run/run
Run a command and add output if it fails /test/test/test
Scrape a webpage into the chat as markdown /web/web/web
Record and transcribe voice input /voice/voice/voice
Paste image or text from the clipboard /paste/paste/paste
Open an external editor to write a prompt /editor/editor/editor

Keyboard & Input

Action Shortcut
Scroll back through your message history UpUpUp
Search your message history CtrlRCtrlRCtrlR
Step back / forward through sent messages CtrlUpCtrlUpCtrlUp
Interrupt Aider (partial response is kept) CtrlCCtrlCCtrlC
Edit the message in an external editor CtrlXCtrlECtrlXCtrlECtrlXCtrlE
New line without sending MetaEnterAltEnterAltEnter
Start / end a multiline message {}{}{}
Toggle multiline mode (swap Enter behavior) /multiline-mode/multiline-mode/multiline-mode

Session & Clipboard

Action Shortcut
Copy the last assistant message /copy/copy/copy
Copy the chat context as markdown /copy-context/copy-context/copy-context
Save commands that reconstruct the session's files /save/save/save
Load and run commands from a file /load/load/load
Print the current settings /settings/settings/settings
Exit Aider /exit/exit/exit
No shortcuts found. Try a different search term.

Frequently Asked Questions

What is Aider?
Aider is a popular open-source terminal AI pair-programming tool (aider.chat). It works inside your git repository, edits files based on your requests, and commits each change with a sensible message. Unlike the proprietary CLIs, Aider is model-agnostic — you point it at whichever LLM you want. Install it with pip, pipx, uv, or the official install script.
What are Aider's chat modes?
Aider has four modes. Code (default) makes changes to your files; Ask discusses code and answers questions without editing; Architect uses two models — one to plan, one to apply the edits; and Help answers questions about Aider itself. Type /code, /ask, /architect, or /help with a prompt for a one-off, or with no prompt to switch modes for the session. You can also use /chat-mode.
How do I enter multiline input in Aider?
There are a few ways. Press Meta+Enter (Alt+Enter, or Esc then Enter in some terminals) to add a line without sending. Or put { alone on the first line and } alone on the last line to wrap a multiline message. Or run /multiline-mode to swap the behavior so plain Enter adds newlines and Meta+Enter sends. You can also use /editor (Ctrl+X Ctrl+E) to compose in your external editor.
How do I undo a change Aider made?
Type /undo to undo the last git commit Aider created. Because Aider commits each edit to git, you always have a clean history to roll back. Use /diff to review what changed since your last message, and /git to run any other git command directly.
How do I run shell commands or add their output in Aider?
Use /run <command> (or its alias, a leading !) to run a shell command and optionally add the output to the chat. Use /test <command> to run something and only feed the output back to Aider if it exits non-zero — handy for letting Aider see and fix failing tests.
Can I use vim keybindings in Aider?
Yes. Launch Aider with the --vim switch to use vi/vim-style editing in the prompt — Esc for command mode, i to insert, and h/j/k/l movement. Aider's input is built on prompt_toolkit, so standard terminal line-editing keys also work, though Aider's docs only formally document the history keys (Up, Ctrl-R, Ctrl-Up/Down), Ctrl-C, and Ctrl-X Ctrl-E.