Aider
The open-source terminal pair programmer (Python) โ works directly in your git repo.
ALL COMMANDS ยท 48
/addAdds one or more files to the chat so Aider can edit them or use them as detailed context./architectSwitches to architect mode, where one model plans the solution and a second model turns it into concrete file edits./askAsks questions about the codebase without Aider changing any files./chat-modeSwitches persistently (sticky) to any chat mode, given as an argument by name./clearClears the chat history of the current session./codeAsks Aider to make concrete changes to the code (the default mode)./commitCommits changes to the repo that were made outside the chat./contextSwitches to context mode to see the surrounding code context for a request./copyCopies Aider's last reply to the clipboard./copy-contextCopies the current code context (files, repo map, instructions) as markdown to the clipboard, suitable for pasting into a web chat UI./diffShows the diff of all file changes since the last chat message./dropRemoves files from the chat session to free up context space./editAlias for /editor: opens an external editor to write a prompt./editorOpens an external text editor to write the next chat message in./editor-modelSwitches the editor model โ responsible for writing concrete file edits in architect mode โ to a new LLM./exitExits Aider./gitRuns any git command; the output is excluded from the chat context./helpAnswers questions about using, configuring, and troubleshooting Aider itself./lintLints and fixes the files in the chat, or all dirty files if none are in the chat./loadLoads a file of /commands and runs them one after another./lsLists all known files and marks which ones are currently in the chat./mapPrints the current repository map (an overview of the most important classes/functions in the repo)./map-refreshForces an immediate rebuild of the repository map./modelSwitches the Main Model of the running Aider session to a new LLM./modelsSearches the list of models Aider supports for a name or partial name./multiline-modeToggles multiline input mode, which swaps the behavior of Enter and Meta+Enter./okShorthand to confirm proposed changes in code mode./pastePastes an image or text from the clipboard into the chat./quitExits Aider (equivalent to /exit)./read-onlyAdds files to the chat for reference only, without letting Aider edit them./reasoning-effortSets the reasoning effort level of the current model (e.g. low/medium/high)./reportReports a problem by automatically preparing a GitHub issue in the Aider repository./resetRemoves all files from the chat and also clears the entire chat history./runRuns a shell command and offers to add its output to the chat./saveSaves the current file selection of the chat session as a command list in a file./settingsPrints the currently effective Aider settings./testRuns a test command and automatically adds its output to the chat on failure./think-tokensSets the model's thinking-token budget for extended reasoning./tokensShows a report on how many tokens the current chat context is using./undoUndoes the last git commit, provided it was made by Aider./voiceRecords spoken input and transcribes it as a message in the chat./weak-modelSwitches the Weak Model responsible for commit messages and chat history summarization./webScrapes a web page, converts it to markdown, and sends it as a message in the chat.Code ModeDefault mode: Aider directly changes files to carry out the request.Ask ModeDiscussion mode: Aider discusses the code and answers questions, but never changes files.Architect ModeTwo-model mode: one model plans the change, a second editor model turns it into concrete file edits.Help ModeHelp mode: Aider answers questions about itself โ usage, configuration, troubleshooting.CLI Options (Flags)Collects the most important Aider CLI flags, grouped by model, automation, context, and other settings.