aider-ce 0.88.20__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (279) hide show
  1. aider/__init__.py +20 -0
  2. aider/__main__.py +4 -0
  3. aider/_version.py +34 -0
  4. aider/analytics.py +258 -0
  5. aider/args.py +1056 -0
  6. aider/args_formatter.py +228 -0
  7. aider/change_tracker.py +133 -0
  8. aider/coders/__init__.py +36 -0
  9. aider/coders/agent_coder.py +2166 -0
  10. aider/coders/agent_prompts.py +104 -0
  11. aider/coders/architect_coder.py +48 -0
  12. aider/coders/architect_prompts.py +40 -0
  13. aider/coders/ask_coder.py +9 -0
  14. aider/coders/ask_prompts.py +35 -0
  15. aider/coders/base_coder.py +3613 -0
  16. aider/coders/base_prompts.py +87 -0
  17. aider/coders/chat_chunks.py +64 -0
  18. aider/coders/context_coder.py +53 -0
  19. aider/coders/context_prompts.py +75 -0
  20. aider/coders/editblock_coder.py +657 -0
  21. aider/coders/editblock_fenced_coder.py +10 -0
  22. aider/coders/editblock_fenced_prompts.py +143 -0
  23. aider/coders/editblock_func_coder.py +141 -0
  24. aider/coders/editblock_func_prompts.py +27 -0
  25. aider/coders/editblock_prompts.py +175 -0
  26. aider/coders/editor_diff_fenced_coder.py +9 -0
  27. aider/coders/editor_diff_fenced_prompts.py +11 -0
  28. aider/coders/editor_editblock_coder.py +9 -0
  29. aider/coders/editor_editblock_prompts.py +21 -0
  30. aider/coders/editor_whole_coder.py +9 -0
  31. aider/coders/editor_whole_prompts.py +12 -0
  32. aider/coders/help_coder.py +16 -0
  33. aider/coders/help_prompts.py +46 -0
  34. aider/coders/patch_coder.py +706 -0
  35. aider/coders/patch_prompts.py +159 -0
  36. aider/coders/search_replace.py +757 -0
  37. aider/coders/shell.py +37 -0
  38. aider/coders/single_wholefile_func_coder.py +102 -0
  39. aider/coders/single_wholefile_func_prompts.py +27 -0
  40. aider/coders/udiff_coder.py +429 -0
  41. aider/coders/udiff_prompts.py +115 -0
  42. aider/coders/udiff_simple.py +14 -0
  43. aider/coders/udiff_simple_prompts.py +25 -0
  44. aider/coders/wholefile_coder.py +144 -0
  45. aider/coders/wholefile_func_coder.py +134 -0
  46. aider/coders/wholefile_func_prompts.py +27 -0
  47. aider/coders/wholefile_prompts.py +65 -0
  48. aider/commands.py +2173 -0
  49. aider/copypaste.py +72 -0
  50. aider/deprecated.py +126 -0
  51. aider/diffs.py +128 -0
  52. aider/dump.py +29 -0
  53. aider/editor.py +147 -0
  54. aider/exceptions.py +115 -0
  55. aider/format_settings.py +26 -0
  56. aider/gui.py +545 -0
  57. aider/help.py +163 -0
  58. aider/help_pats.py +19 -0
  59. aider/helpers/__init__.py +9 -0
  60. aider/helpers/similarity.py +98 -0
  61. aider/history.py +180 -0
  62. aider/io.py +1608 -0
  63. aider/linter.py +304 -0
  64. aider/llm.py +55 -0
  65. aider/main.py +1415 -0
  66. aider/mcp/__init__.py +174 -0
  67. aider/mcp/server.py +149 -0
  68. aider/mdstream.py +243 -0
  69. aider/models.py +1313 -0
  70. aider/onboarding.py +429 -0
  71. aider/openrouter.py +129 -0
  72. aider/prompts.py +56 -0
  73. aider/queries/tree-sitter-language-pack/README.md +7 -0
  74. aider/queries/tree-sitter-language-pack/arduino-tags.scm +5 -0
  75. aider/queries/tree-sitter-language-pack/c-tags.scm +9 -0
  76. aider/queries/tree-sitter-language-pack/chatito-tags.scm +16 -0
  77. aider/queries/tree-sitter-language-pack/clojure-tags.scm +7 -0
  78. aider/queries/tree-sitter-language-pack/commonlisp-tags.scm +122 -0
  79. aider/queries/tree-sitter-language-pack/cpp-tags.scm +15 -0
  80. aider/queries/tree-sitter-language-pack/csharp-tags.scm +26 -0
  81. aider/queries/tree-sitter-language-pack/d-tags.scm +26 -0
  82. aider/queries/tree-sitter-language-pack/dart-tags.scm +92 -0
  83. aider/queries/tree-sitter-language-pack/elisp-tags.scm +5 -0
  84. aider/queries/tree-sitter-language-pack/elixir-tags.scm +54 -0
  85. aider/queries/tree-sitter-language-pack/elm-tags.scm +19 -0
  86. aider/queries/tree-sitter-language-pack/gleam-tags.scm +41 -0
  87. aider/queries/tree-sitter-language-pack/go-tags.scm +42 -0
  88. aider/queries/tree-sitter-language-pack/java-tags.scm +20 -0
  89. aider/queries/tree-sitter-language-pack/javascript-tags.scm +88 -0
  90. aider/queries/tree-sitter-language-pack/lua-tags.scm +34 -0
  91. aider/queries/tree-sitter-language-pack/matlab-tags.scm +10 -0
  92. aider/queries/tree-sitter-language-pack/ocaml-tags.scm +115 -0
  93. aider/queries/tree-sitter-language-pack/ocaml_interface-tags.scm +98 -0
  94. aider/queries/tree-sitter-language-pack/pony-tags.scm +39 -0
  95. aider/queries/tree-sitter-language-pack/properties-tags.scm +5 -0
  96. aider/queries/tree-sitter-language-pack/python-tags.scm +14 -0
  97. aider/queries/tree-sitter-language-pack/r-tags.scm +21 -0
  98. aider/queries/tree-sitter-language-pack/racket-tags.scm +12 -0
  99. aider/queries/tree-sitter-language-pack/ruby-tags.scm +64 -0
  100. aider/queries/tree-sitter-language-pack/rust-tags.scm +60 -0
  101. aider/queries/tree-sitter-language-pack/solidity-tags.scm +43 -0
  102. aider/queries/tree-sitter-language-pack/swift-tags.scm +51 -0
  103. aider/queries/tree-sitter-language-pack/udev-tags.scm +20 -0
  104. aider/queries/tree-sitter-languages/README.md +24 -0
  105. aider/queries/tree-sitter-languages/c-tags.scm +9 -0
  106. aider/queries/tree-sitter-languages/c_sharp-tags.scm +46 -0
  107. aider/queries/tree-sitter-languages/cpp-tags.scm +15 -0
  108. aider/queries/tree-sitter-languages/dart-tags.scm +91 -0
  109. aider/queries/tree-sitter-languages/elisp-tags.scm +8 -0
  110. aider/queries/tree-sitter-languages/elixir-tags.scm +54 -0
  111. aider/queries/tree-sitter-languages/elm-tags.scm +19 -0
  112. aider/queries/tree-sitter-languages/fortran-tags.scm +15 -0
  113. aider/queries/tree-sitter-languages/go-tags.scm +30 -0
  114. aider/queries/tree-sitter-languages/haskell-tags.scm +3 -0
  115. aider/queries/tree-sitter-languages/hcl-tags.scm +77 -0
  116. aider/queries/tree-sitter-languages/java-tags.scm +20 -0
  117. aider/queries/tree-sitter-languages/javascript-tags.scm +88 -0
  118. aider/queries/tree-sitter-languages/julia-tags.scm +60 -0
  119. aider/queries/tree-sitter-languages/kotlin-tags.scm +27 -0
  120. aider/queries/tree-sitter-languages/matlab-tags.scm +10 -0
  121. aider/queries/tree-sitter-languages/ocaml-tags.scm +115 -0
  122. aider/queries/tree-sitter-languages/ocaml_interface-tags.scm +98 -0
  123. aider/queries/tree-sitter-languages/php-tags.scm +26 -0
  124. aider/queries/tree-sitter-languages/python-tags.scm +12 -0
  125. aider/queries/tree-sitter-languages/ql-tags.scm +26 -0
  126. aider/queries/tree-sitter-languages/ruby-tags.scm +64 -0
  127. aider/queries/tree-sitter-languages/rust-tags.scm +60 -0
  128. aider/queries/tree-sitter-languages/scala-tags.scm +65 -0
  129. aider/queries/tree-sitter-languages/typescript-tags.scm +41 -0
  130. aider/queries/tree-sitter-languages/zig-tags.scm +3 -0
  131. aider/reasoning_tags.py +82 -0
  132. aider/repo.py +621 -0
  133. aider/repomap.py +1174 -0
  134. aider/report.py +260 -0
  135. aider/resources/__init__.py +3 -0
  136. aider/resources/model-metadata.json +776 -0
  137. aider/resources/model-settings.yml +2068 -0
  138. aider/run_cmd.py +133 -0
  139. aider/scrape.py +293 -0
  140. aider/sendchat.py +242 -0
  141. aider/sessions.py +256 -0
  142. aider/special.py +203 -0
  143. aider/tools/__init__.py +72 -0
  144. aider/tools/command.py +105 -0
  145. aider/tools/command_interactive.py +122 -0
  146. aider/tools/delete_block.py +182 -0
  147. aider/tools/delete_line.py +155 -0
  148. aider/tools/delete_lines.py +184 -0
  149. aider/tools/extract_lines.py +341 -0
  150. aider/tools/finished.py +48 -0
  151. aider/tools/git_branch.py +129 -0
  152. aider/tools/git_diff.py +60 -0
  153. aider/tools/git_log.py +57 -0
  154. aider/tools/git_remote.py +53 -0
  155. aider/tools/git_show.py +51 -0
  156. aider/tools/git_status.py +46 -0
  157. aider/tools/grep.py +256 -0
  158. aider/tools/indent_lines.py +221 -0
  159. aider/tools/insert_block.py +288 -0
  160. aider/tools/list_changes.py +86 -0
  161. aider/tools/ls.py +93 -0
  162. aider/tools/make_editable.py +85 -0
  163. aider/tools/make_readonly.py +69 -0
  164. aider/tools/remove.py +91 -0
  165. aider/tools/replace_all.py +126 -0
  166. aider/tools/replace_line.py +173 -0
  167. aider/tools/replace_lines.py +217 -0
  168. aider/tools/replace_text.py +187 -0
  169. aider/tools/show_numbered_context.py +147 -0
  170. aider/tools/tool_utils.py +313 -0
  171. aider/tools/undo_change.py +95 -0
  172. aider/tools/update_todo_list.py +156 -0
  173. aider/tools/view.py +57 -0
  174. aider/tools/view_files_matching.py +141 -0
  175. aider/tools/view_files_with_symbol.py +129 -0
  176. aider/urls.py +17 -0
  177. aider/utils.py +456 -0
  178. aider/versioncheck.py +113 -0
  179. aider/voice.py +205 -0
  180. aider/waiting.py +38 -0
  181. aider/watch.py +318 -0
  182. aider/watch_prompts.py +12 -0
  183. aider/website/Gemfile +8 -0
  184. aider/website/_includes/blame.md +162 -0
  185. aider/website/_includes/get-started.md +22 -0
  186. aider/website/_includes/help-tip.md +5 -0
  187. aider/website/_includes/help.md +24 -0
  188. aider/website/_includes/install.md +5 -0
  189. aider/website/_includes/keys.md +4 -0
  190. aider/website/_includes/model-warnings.md +67 -0
  191. aider/website/_includes/multi-line.md +22 -0
  192. aider/website/_includes/python-m-aider.md +5 -0
  193. aider/website/_includes/recording.css +228 -0
  194. aider/website/_includes/recording.md +34 -0
  195. aider/website/_includes/replit-pipx.md +9 -0
  196. aider/website/_includes/works-best.md +1 -0
  197. aider/website/_sass/custom/custom.scss +103 -0
  198. aider/website/docs/config/adv-model-settings.md +2261 -0
  199. aider/website/docs/config/agent-mode.md +194 -0
  200. aider/website/docs/config/aider_conf.md +548 -0
  201. aider/website/docs/config/api-keys.md +90 -0
  202. aider/website/docs/config/dotenv.md +493 -0
  203. aider/website/docs/config/editor.md +127 -0
  204. aider/website/docs/config/mcp.md +95 -0
  205. aider/website/docs/config/model-aliases.md +104 -0
  206. aider/website/docs/config/options.md +890 -0
  207. aider/website/docs/config/reasoning.md +210 -0
  208. aider/website/docs/config.md +44 -0
  209. aider/website/docs/faq.md +384 -0
  210. aider/website/docs/git.md +76 -0
  211. aider/website/docs/index.md +47 -0
  212. aider/website/docs/install/codespaces.md +39 -0
  213. aider/website/docs/install/docker.md +57 -0
  214. aider/website/docs/install/optional.md +100 -0
  215. aider/website/docs/install/replit.md +8 -0
  216. aider/website/docs/install.md +115 -0
  217. aider/website/docs/languages.md +264 -0
  218. aider/website/docs/legal/contributor-agreement.md +111 -0
  219. aider/website/docs/legal/privacy.md +104 -0
  220. aider/website/docs/llms/anthropic.md +77 -0
  221. aider/website/docs/llms/azure.md +48 -0
  222. aider/website/docs/llms/bedrock.md +132 -0
  223. aider/website/docs/llms/cohere.md +34 -0
  224. aider/website/docs/llms/deepseek.md +32 -0
  225. aider/website/docs/llms/gemini.md +49 -0
  226. aider/website/docs/llms/github.md +111 -0
  227. aider/website/docs/llms/groq.md +36 -0
  228. aider/website/docs/llms/lm-studio.md +39 -0
  229. aider/website/docs/llms/ollama.md +75 -0
  230. aider/website/docs/llms/openai-compat.md +39 -0
  231. aider/website/docs/llms/openai.md +58 -0
  232. aider/website/docs/llms/openrouter.md +78 -0
  233. aider/website/docs/llms/other.md +117 -0
  234. aider/website/docs/llms/vertex.md +50 -0
  235. aider/website/docs/llms/warnings.md +10 -0
  236. aider/website/docs/llms/xai.md +53 -0
  237. aider/website/docs/llms.md +54 -0
  238. aider/website/docs/more/analytics.md +127 -0
  239. aider/website/docs/more/edit-formats.md +116 -0
  240. aider/website/docs/more/infinite-output.md +165 -0
  241. aider/website/docs/more-info.md +8 -0
  242. aider/website/docs/recordings/auto-accept-architect.md +31 -0
  243. aider/website/docs/recordings/dont-drop-original-read-files.md +35 -0
  244. aider/website/docs/recordings/index.md +21 -0
  245. aider/website/docs/recordings/model-accepts-settings.md +69 -0
  246. aider/website/docs/recordings/tree-sitter-language-pack.md +80 -0
  247. aider/website/docs/repomap.md +112 -0
  248. aider/website/docs/scripting.md +100 -0
  249. aider/website/docs/sessions.md +203 -0
  250. aider/website/docs/troubleshooting/aider-not-found.md +24 -0
  251. aider/website/docs/troubleshooting/edit-errors.md +76 -0
  252. aider/website/docs/troubleshooting/imports.md +62 -0
  253. aider/website/docs/troubleshooting/models-and-keys.md +54 -0
  254. aider/website/docs/troubleshooting/support.md +79 -0
  255. aider/website/docs/troubleshooting/token-limits.md +96 -0
  256. aider/website/docs/troubleshooting/warnings.md +12 -0
  257. aider/website/docs/troubleshooting.md +11 -0
  258. aider/website/docs/usage/browser.md +57 -0
  259. aider/website/docs/usage/caching.md +49 -0
  260. aider/website/docs/usage/commands.md +133 -0
  261. aider/website/docs/usage/conventions.md +119 -0
  262. aider/website/docs/usage/copypaste.md +121 -0
  263. aider/website/docs/usage/images-urls.md +48 -0
  264. aider/website/docs/usage/lint-test.md +118 -0
  265. aider/website/docs/usage/modes.md +211 -0
  266. aider/website/docs/usage/not-code.md +179 -0
  267. aider/website/docs/usage/notifications.md +87 -0
  268. aider/website/docs/usage/tips.md +79 -0
  269. aider/website/docs/usage/tutorials.md +30 -0
  270. aider/website/docs/usage/voice.md +121 -0
  271. aider/website/docs/usage/watch.md +294 -0
  272. aider/website/docs/usage.md +102 -0
  273. aider/website/share/index.md +101 -0
  274. aider_ce-0.88.20.dist-info/METADATA +187 -0
  275. aider_ce-0.88.20.dist-info/RECORD +279 -0
  276. aider_ce-0.88.20.dist-info/WHEEL +5 -0
  277. aider_ce-0.88.20.dist-info/entry_points.txt +2 -0
  278. aider_ce-0.88.20.dist-info/licenses/LICENSE.txt +202 -0
  279. aider_ce-0.88.20.dist-info/top_level.txt +1 -0
@@ -0,0 +1,890 @@
1
+ ---
2
+ parent: Configuration
3
+ nav_order: 10
4
+ description: Details about all of aider's settings.
5
+ ---
6
+
7
+ # Options reference
8
+ {: .no_toc }
9
+
10
+ You can use `aider --help` to see all the available options,
11
+ or review them below.
12
+
13
+ - TOC
14
+ {:toc}
15
+
16
+ {% include keys.md %}
17
+
18
+ ## Usage summary
19
+
20
+ <!--[[[cog
21
+ from aider.args import get_md_help
22
+ cog.out(get_md_help())
23
+ ]]]-->
24
+ ```
25
+ usage: aider [-h] [--model] [--openai-api-key] [--anthropic-api-key]
26
+ [--openai-api-base] [--openai-api-type]
27
+ [--openai-api-version] [--openai-api-deployment-id]
28
+ [--openai-organization-id] [--set-env] [--api-key]
29
+ [--list-models] [--model-settings-file]
30
+ [--model-metadata-file] [--alias] [--reasoning-effort]
31
+ [--thinking-tokens] [--verify-ssl | --no-verify-ssl]
32
+ [--timeout] [--edit-format] [--architect]
33
+ [--auto-accept-architect | --no-auto-accept-architect]
34
+ [--weak-model] [--editor-model] [--editor-edit-format]
35
+ [--show-model-warnings | --no-show-model-warnings]
36
+ [--check-model-accepts-settings | --no-check-model-accepts-settings]
37
+ [--max-chat-history-tokens]
38
+ [--enable-context-compaction | --no-enable-context-compaction]
39
+ [--context-compaction-max-tokens]
40
+ [--context-compaction-summary-tokens]
41
+ [--cache-prompts | --no-cache-prompts]
42
+ [--cache-keepalive-pings] [--map-tokens]
43
+ [--map-refresh] [--map-multiplier-no-files]
44
+ [--input-history-file] [--chat-history-file]
45
+ [--restore-chat-history | --no-restore-chat-history]
46
+ [--llm-history-file] [--dark-mode] [--light-mode]
47
+ [--pretty | --no-pretty] [--stream | --no-stream]
48
+ [--user-input-color] [--tool-output-color]
49
+ [--tool-error-color] [--tool-warning-color]
50
+ [--assistant-output-color] [--completion-menu-color]
51
+ [--completion-menu-bg-color]
52
+ [--completion-menu-current-color]
53
+ [--completion-menu-current-bg-color] [--code-theme]
54
+ [--show-diffs] [--git | --no-git]
55
+ [--gitignore | --no-gitignore]
56
+ [--add-gitignore-files | --no-add-gitignore-files]
57
+ [--aiderignore] [--subtree-only]
58
+ [--auto-commits | --no-auto-commits]
59
+ [--dirty-commits | --no-dirty-commits]
60
+ [--attribute-author | --no-attribute-author]
61
+ [--attribute-committer | --no-attribute-committer]
62
+ [--attribute-commit-message-author | --no-attribute-commit-message-author]
63
+ [--attribute-commit-message-committer | --no-attribute-commit-message-committer]
64
+ [--attribute-co-authored-by | --no-attribute-co-authored-by]
65
+ [--git-commit-verify | --no-git-commit-verify]
66
+ [--commit] [--commit-prompt] [--dry-run | --no-dry-run]
67
+ [--skip-sanity-check-repo]
68
+ [--watch-files | --no-watch-files] [--lint]
69
+ [--lint-cmd] [--auto-lint | --no-auto-lint]
70
+ [--test-cmd] [--auto-test | --no-auto-test] [--test]
71
+ [--analytics | --no-analytics] [--analytics-log]
72
+ [--analytics-disable] [--analytics-posthog-host]
73
+ [--analytics-posthog-project-api-key]
74
+ [--just-check-update]
75
+ [--check-update | --no-check-update]
76
+ [--show-release-notes | --no-show-release-notes]
77
+ [--install-main-branch] [--upgrade] [--version]
78
+ [--message] [--message-file]
79
+ [--gui | --no-gui | --browser | --no-browser]
80
+ [--copy-paste | --no-copy-paste] [--apply]
81
+ [--apply-clipboard-edits] [--exit] [--show-repo-map]
82
+ [--show-prompts] [--voice-format] [--voice-language]
83
+ [--voice-input-device] [--disable-playwright] [--file]
84
+ [--read] [--vim] [--chat-language] [--commit-language]
85
+ [--yes-always] [-v] [--load] [--encoding]
86
+ [--line-endings] [-c] [--env-file]
87
+ [--suggest-shell-commands | --no-suggest-shell-commands]
88
+ [--fancy-input | --no-fancy-input]
89
+ [--multiline | --no-multiline]
90
+ [--notifications | --no-notifications]
91
+ [--notifications-command]
92
+ [--detect-urls | --no-detect-urls] [--editor]
93
+ [--shell-completions] [--opus] [--sonnet] [--haiku]
94
+ [--4] [--4o] [--mini] [--4-turbo] [--35turbo]
95
+ [--deepseek] [--o1-mini] [--o1-preview]
96
+
97
+ ```
98
+
99
+ ## options:
100
+
101
+ ### `--help`
102
+ show this help message and exit
103
+ Aliases:
104
+ - `-h`
105
+ - `--help`
106
+
107
+ ## Main model:
108
+
109
+ ### `--model MODEL`
110
+ Specify the model to use for the main chat
111
+ Environment variable: `AIDER_MODEL`
112
+
113
+ ## API Keys and settings:
114
+
115
+ ### `--openai-api-key VALUE`
116
+ Specify the OpenAI API key
117
+ Environment variable: `AIDER_OPENAI_API_KEY`
118
+
119
+ ### `--anthropic-api-key VALUE`
120
+ Specify the Anthropic API key
121
+ Environment variable: `AIDER_ANTHROPIC_API_KEY`
122
+
123
+ ### `--openai-api-base VALUE`
124
+ Specify the api base url
125
+ Environment variable: `AIDER_OPENAI_API_BASE`
126
+
127
+ ### `--openai-api-type VALUE`
128
+ (deprecated, use --set-env OPENAI_API_TYPE=<value>)
129
+ Environment variable: `AIDER_OPENAI_API_TYPE`
130
+
131
+ ### `--openai-api-version VALUE`
132
+ (deprecated, use --set-env OPENAI_API_VERSION=<value>)
133
+ Environment variable: `AIDER_OPENAI_API_VERSION`
134
+
135
+ ### `--openai-api-deployment-id VALUE`
136
+ (deprecated, use --set-env OPENAI_API_DEPLOYMENT_ID=<value>)
137
+ Environment variable: `AIDER_OPENAI_API_DEPLOYMENT_ID`
138
+
139
+ ### `--openai-organization-id VALUE`
140
+ (deprecated, use --set-env OPENAI_ORGANIZATION=<value>)
141
+ Environment variable: `AIDER_OPENAI_ORGANIZATION_ID`
142
+
143
+ ### `--set-env ENV_VAR_NAME=value`
144
+ Set an environment variable (to control API settings, can be used multiple times)
145
+ Default: []
146
+ Environment variable: `AIDER_SET_ENV`
147
+
148
+ ### `--api-key PROVIDER=KEY`
149
+ Set an API key for a provider (eg: --api-key provider=<key> sets PROVIDER_API_KEY=<key>)
150
+ Default: []
151
+ Environment variable: `AIDER_API_KEY`
152
+
153
+ ## Model settings:
154
+
155
+ ### `--list-models MODEL`
156
+ List known models which match the (partial) MODEL name
157
+ Environment variable: `AIDER_LIST_MODELS`
158
+ Aliases:
159
+ - `--list-models MODEL`
160
+ - `--models MODEL`
161
+
162
+ ### `--model-settings-file MODEL_SETTINGS_FILE`
163
+ Specify a file with aider model settings for unknown models
164
+ Default: .aider.model.settings.yml
165
+ Environment variable: `AIDER_MODEL_SETTINGS_FILE`
166
+
167
+ ### `--model-metadata-file MODEL_METADATA_FILE`
168
+ Specify a file with context window and costs for unknown models
169
+ Default: .aider.model.metadata.json
170
+ Environment variable: `AIDER_MODEL_METADATA_FILE`
171
+
172
+ ### `--alias ALIAS:MODEL`
173
+ Add a model alias (can be used multiple times)
174
+ Environment variable: `AIDER_ALIAS`
175
+
176
+ ### `--reasoning-effort VALUE`
177
+ Set the reasoning_effort API parameter (default: not set)
178
+ Environment variable: `AIDER_REASONING_EFFORT`
179
+
180
+ ### `--thinking-tokens VALUE`
181
+ Set the thinking token budget for models that support it. Use 0 to disable. (default: not set)
182
+ Environment variable: `AIDER_THINKING_TOKENS`
183
+
184
+ ### `--verify-ssl`
185
+ Verify the SSL cert when connecting to models (default: True)
186
+ Default: True
187
+ Environment variable: `AIDER_VERIFY_SSL`
188
+ Aliases:
189
+ - `--verify-ssl`
190
+ - `--no-verify-ssl`
191
+
192
+ ### `--timeout VALUE`
193
+ Timeout in seconds for API calls (default: None)
194
+ Environment variable: `AIDER_TIMEOUT`
195
+
196
+ ### `--edit-format EDIT_FORMAT`
197
+ Specify what edit format the LLM should use (default depends on model)
198
+ Environment variable: `AIDER_EDIT_FORMAT`
199
+ Aliases:
200
+ - `--edit-format EDIT_FORMAT`
201
+ - `--chat-mode EDIT_FORMAT`
202
+
203
+ ### `--architect`
204
+ Use architect edit format for the main chat
205
+ Environment variable: `AIDER_ARCHITECT`
206
+
207
+ ### `--auto-accept-architect`
208
+ Enable/disable automatic acceptance of architect changes (default: True)
209
+ Default: True
210
+ Environment variable: `AIDER_AUTO_ACCEPT_ARCHITECT`
211
+ Aliases:
212
+ - `--auto-accept-architect`
213
+ - `--no-auto-accept-architect`
214
+
215
+ ### `--weak-model WEAK_MODEL`
216
+ Specify the model to use for commit messages and chat history summarization (default depends on --model)
217
+ Environment variable: `AIDER_WEAK_MODEL`
218
+
219
+ ### `--editor-model EDITOR_MODEL`
220
+ Specify the model to use for editor tasks (default depends on --model)
221
+ Environment variable: `AIDER_EDITOR_MODEL`
222
+
223
+ ### `--editor-edit-format EDITOR_EDIT_FORMAT`
224
+ Specify the edit format for the editor model (default: depends on editor model)
225
+ Environment variable: `AIDER_EDITOR_EDIT_FORMAT`
226
+
227
+ ### `--show-model-warnings`
228
+ Only work with models that have meta-data available (default: True)
229
+ Default: True
230
+ Environment variable: `AIDER_SHOW_MODEL_WARNINGS`
231
+ Aliases:
232
+ - `--show-model-warnings`
233
+ - `--no-show-model-warnings`
234
+
235
+ ### `--check-model-accepts-settings`
236
+ Check if model accepts settings like reasoning_effort/thinking_tokens (default: True)
237
+ Default: True
238
+ Environment variable: `AIDER_CHECK_MODEL_ACCEPTS_SETTINGS`
239
+ Aliases:
240
+ - `--check-model-accepts-settings`
241
+ - `--no-check-model-accepts-settings`
242
+
243
+ ### `--max-chat-history-tokens VALUE`
244
+ Soft limit on tokens for chat history, after which summarization begins. If unspecified, defaults to the model's max_chat_history_tokens.
245
+ Environment variable: `AIDER_MAX_CHAT_HISTORY_TOKENS`
246
+
247
+ ## Context Compaction:
248
+
249
+ ### `--enable-context-compaction`
250
+ Enable automatic compaction of chat history to conserve tokens (default: False)
251
+ Default: False
252
+ Environment variable: `AIDER_ENABLE_CONTEXT_COMPACTION`
253
+ Aliases:
254
+ - `--enable-context-compaction`
255
+ - `--no-enable-context-compaction`
256
+
257
+ ### `--context-compaction-max-tokens VALUE`
258
+ The maximum number of tokens in the conversation before context compaction is triggered. (default: 80% of model's context window)
259
+ Environment variable: `AIDER_CONTEXT_COMPACTION_MAX_TOKENS`
260
+
261
+ ### `--context-compaction-summary-tokens VALUE`
262
+ The target maximum number of tokens for the generated summary. (default: 4096)
263
+ Default: 4096
264
+ Environment variable: `AIDER_CONTEXT_COMPACTION_SUMMARY_TOKENS`
265
+
266
+ ## Cache settings:
267
+
268
+ ### `--cache-prompts`
269
+ Enable caching of prompts (default: False)
270
+ Default: False
271
+ Environment variable: `AIDER_CACHE_PROMPTS`
272
+ Aliases:
273
+ - `--cache-prompts`
274
+ - `--no-cache-prompts`
275
+
276
+ ### `--cache-keepalive-pings VALUE`
277
+ Number of times to ping at 5min intervals to keep prompt cache warm (default: 0)
278
+ Default: 0
279
+ Environment variable: `AIDER_CACHE_KEEPALIVE_PINGS`
280
+
281
+ ## Repomap settings:
282
+
283
+ ### `--map-tokens VALUE`
284
+ Suggested number of tokens to use for repo map, use 0 to disable
285
+ Environment variable: `AIDER_MAP_TOKENS`
286
+
287
+ ### `--map-refresh VALUE`
288
+ Control how often the repo map is refreshed. Options: auto, always, files, manual (default: auto)
289
+ Default: auto
290
+ Environment variable: `AIDER_MAP_REFRESH`
291
+
292
+ ### `--map-multiplier-no-files VALUE`
293
+ Multiplier for map tokens when no files are specified (default: 2)
294
+ Default: 2
295
+ Environment variable: `AIDER_MAP_MULTIPLIER_NO_FILES`
296
+
297
+ ### `--map-max-line-length VALUE`
298
+ Maximum line length for the repo map code. Prevents sending crazy long lines of minified JS files etc. (default: 100)
299
+ Default: 100
300
+ Environment variable: `AIDER_MAP_MAX_LINE_LENGTH`
301
+
302
+ ## History Files:
303
+
304
+ ### `--input-history-file INPUT_HISTORY_FILE`
305
+ Specify the chat input history file (default: .aider.input.history)
306
+ Default: .aider.input.history
307
+ Environment variable: `AIDER_INPUT_HISTORY_FILE`
308
+
309
+ ### `--chat-history-file CHAT_HISTORY_FILE`
310
+ Specify the chat history file (default: .aider.chat.history.md)
311
+ Default: .aider.chat.history.md
312
+ Environment variable: `AIDER_CHAT_HISTORY_FILE`
313
+
314
+ ### `--restore-chat-history`
315
+ Restore the previous chat history messages (default: False)
316
+ Default: False
317
+ Environment variable: `AIDER_RESTORE_CHAT_HISTORY`
318
+ Aliases:
319
+ - `--restore-chat-history`
320
+ - `--no-restore-chat-history`
321
+
322
+ ### `--llm-history-file LLM_HISTORY_FILE`
323
+ Log the conversation with the LLM to this file (for example, .aider.llm.history)
324
+ Environment variable: `AIDER_LLM_HISTORY_FILE`
325
+
326
+ ## Output settings:
327
+
328
+ ### `--dark-mode`
329
+ Use colors suitable for a dark terminal background (default: False)
330
+ Default: False
331
+ Environment variable: `AIDER_DARK_MODE`
332
+
333
+ ### `--light-mode`
334
+ Use colors suitable for a light terminal background (default: False)
335
+ Default: False
336
+ Environment variable: `AIDER_LIGHT_MODE`
337
+
338
+ ### `--pretty`
339
+ Enable/disable pretty, colorized output (default: True)
340
+ Default: True
341
+ Environment variable: `AIDER_PRETTY`
342
+ Aliases:
343
+ - `--pretty`
344
+ - `--no-pretty`
345
+
346
+ ### `--stream`
347
+ Enable/disable streaming responses (default: True)
348
+ Default: True
349
+ Environment variable: `AIDER_STREAM`
350
+ Aliases:
351
+ - `--stream`
352
+ - `--no-stream`
353
+
354
+ ### `--user-input-color VALUE`
355
+ Set the color for user input (default: #00cc00)
356
+ Default: #00cc00
357
+ Environment variable: `AIDER_USER_INPUT_COLOR`
358
+
359
+ ### `--tool-output-color VALUE`
360
+ Set the color for tool output (default: None)
361
+ Environment variable: `AIDER_TOOL_OUTPUT_COLOR`
362
+
363
+ ### `--tool-error-color VALUE`
364
+ Set the color for tool error messages (default: #FF2222)
365
+ Default: #FF2222
366
+ Environment variable: `AIDER_TOOL_ERROR_COLOR`
367
+
368
+ ### `--tool-warning-color VALUE`
369
+ Set the color for tool warning messages (default: #FFA500)
370
+ Default: #FFA500
371
+ Environment variable: `AIDER_TOOL_WARNING_COLOR`
372
+
373
+ ### `--assistant-output-color VALUE`
374
+ Set the color for assistant output (default: #0088ff)
375
+ Default: #0088ff
376
+ Environment variable: `AIDER_ASSISTANT_OUTPUT_COLOR`
377
+
378
+ ### `--completion-menu-color COLOR`
379
+ Set the color for the completion menu (default: terminal's default text color)
380
+ Environment variable: `AIDER_COMPLETION_MENU_COLOR`
381
+
382
+ ### `--completion-menu-bg-color COLOR`
383
+ Set the background color for the completion menu (default: terminal's default background color)
384
+ Environment variable: `AIDER_COMPLETION_MENU_BG_COLOR`
385
+
386
+ ### `--completion-menu-current-color COLOR`
387
+ Set the color for the current item in the completion menu (default: terminal's default background color)
388
+ Environment variable: `AIDER_COMPLETION_MENU_CURRENT_COLOR`
389
+
390
+ ### `--completion-menu-current-bg-color COLOR`
391
+ Set the background color for the current item in the completion menu (default: terminal's default text color)
392
+ Environment variable: `AIDER_COMPLETION_MENU_CURRENT_BG_COLOR`
393
+
394
+ ### `--code-theme VALUE`
395
+ Set the markdown code theme (default: default, other options include monokai, solarized-dark, solarized-light, or a Pygments builtin style, see https://pygments.org/styles for available themes)
396
+ Default: default
397
+ Environment variable: `AIDER_CODE_THEME`
398
+
399
+ ### `--show-diffs`
400
+ Show diffs when committing changes (default: False)
401
+ Default: False
402
+ Environment variable: `AIDER_SHOW_DIFFS`
403
+
404
+ ## Git settings:
405
+
406
+ ### `--git`
407
+ Enable/disable looking for a git repo (default: True)
408
+ Default: True
409
+ Environment variable: `AIDER_GIT`
410
+ Aliases:
411
+ - `--git`
412
+ - `--no-git`
413
+
414
+ ### `--gitignore`
415
+ Enable/disable adding .aider* to .gitignore (default: True)
416
+ Default: True
417
+ Environment variable: `AIDER_GITIGNORE`
418
+ Aliases:
419
+ - `--gitignore`
420
+ - `--no-gitignore`
421
+
422
+ ### `--add-gitignore-files`
423
+ Enable/disable the addition of files listed in .gitignore to Aider's editing scope.
424
+ Default: False
425
+ Environment variable: `AIDER_ADD_GITIGNORE_FILES`
426
+ Aliases:
427
+ - `--add-gitignore-files`
428
+ - `--no-add-gitignore-files`
429
+
430
+ ### `--aiderignore AIDERIGNORE`
431
+ Specify the aider ignore file (default: .aiderignore in git root)
432
+ Default: .aiderignore
433
+ Environment variable: `AIDER_AIDERIGNORE`
434
+
435
+ ### `--subtree-only`
436
+ Only consider files in the current subtree of the git repository
437
+ Default: False
438
+ Environment variable: `AIDER_SUBTREE_ONLY`
439
+
440
+ ### `--auto-commits`
441
+ Enable/disable auto commit of LLM changes (default: True)
442
+ Default: True
443
+ Environment variable: `AIDER_AUTO_COMMITS`
444
+ Aliases:
445
+ - `--auto-commits`
446
+ - `--no-auto-commits`
447
+
448
+ ### `--dirty-commits`
449
+ Enable/disable commits when repo is found dirty (default: True)
450
+ Default: True
451
+ Environment variable: `AIDER_DIRTY_COMMITS`
452
+ Aliases:
453
+ - `--dirty-commits`
454
+ - `--no-dirty-commits`
455
+
456
+ ### `--attribute-author`
457
+ Attribute aider code changes in the git author name (default: True). If explicitly set to True, overrides --attribute-co-authored-by precedence.
458
+ Environment variable: `AIDER_ATTRIBUTE_AUTHOR`
459
+ Aliases:
460
+ - `--attribute-author`
461
+ - `--no-attribute-author`
462
+
463
+ ### `--attribute-committer`
464
+ Attribute aider commits in the git committer name (default: True). If explicitly set to True, overrides --attribute-co-authored-by precedence for aider edits.
465
+ Environment variable: `AIDER_ATTRIBUTE_COMMITTER`
466
+ Aliases:
467
+ - `--attribute-committer`
468
+ - `--no-attribute-committer`
469
+
470
+ ### `--attribute-commit-message-author`
471
+ Prefix commit messages with 'aider: ' if aider authored the changes (default: False)
472
+ Default: False
473
+ Environment variable: `AIDER_ATTRIBUTE_COMMIT_MESSAGE_AUTHOR`
474
+ Aliases:
475
+ - `--attribute-commit-message-author`
476
+ - `--no-attribute-commit-message-author`
477
+
478
+ ### `--attribute-commit-message-committer`
479
+ Prefix all commit messages with 'aider: ' (default: False)
480
+ Default: False
481
+ Environment variable: `AIDER_ATTRIBUTE_COMMIT_MESSAGE_COMMITTER`
482
+ Aliases:
483
+ - `--attribute-commit-message-committer`
484
+ - `--no-attribute-commit-message-committer`
485
+
486
+ ### `--attribute-co-authored-by`
487
+ Attribute aider edits using the Co-authored-by trailer in the commit message (default: True). If True, this takes precedence over default --attribute-author and --attribute-committer behavior unless they are explicitly set to True.
488
+ Default: True
489
+ Environment variable: `AIDER_ATTRIBUTE_CO_AUTHORED_BY`
490
+ Aliases:
491
+ - `--attribute-co-authored-by`
492
+ - `--no-attribute-co-authored-by`
493
+
494
+ ### `--git-commit-verify`
495
+ Enable/disable git pre-commit hooks with --no-verify (default: False)
496
+ Default: False
497
+ Environment variable: `AIDER_GIT_COMMIT_VERIFY`
498
+ Aliases:
499
+ - `--git-commit-verify`
500
+ - `--no-git-commit-verify`
501
+
502
+ ### `--commit`
503
+ Commit all pending changes with a suitable commit message, then exit
504
+ Default: False
505
+ Environment variable: `AIDER_COMMIT`
506
+
507
+ ### `--commit-prompt PROMPT`
508
+ Specify a custom prompt for generating commit messages
509
+ Environment variable: `AIDER_COMMIT_PROMPT`
510
+
511
+ ### `--dry-run`
512
+ Perform a dry run without modifying files (default: False)
513
+ Default: False
514
+ Environment variable: `AIDER_DRY_RUN`
515
+ Aliases:
516
+ - `--dry-run`
517
+ - `--no-dry-run`
518
+
519
+ ### `--skip-sanity-check-repo`
520
+ Skip the sanity check for the git repository (default: False)
521
+ Default: False
522
+ Environment variable: `AIDER_SKIP_SANITY_CHECK_REPO`
523
+
524
+ ### `--watch-files`
525
+ Enable/disable watching files for ai coding comments (default: False)
526
+ Default: False
527
+ Environment variable: `AIDER_WATCH_FILES`
528
+ Aliases:
529
+ - `--watch-files`
530
+ - `--no-watch-files`
531
+
532
+ ## Fixing and committing:
533
+
534
+ ### `--lint`
535
+ Lint and fix provided files, or dirty files if none provided
536
+ Default: False
537
+ Environment variable: `AIDER_LINT`
538
+
539
+ ### `--lint-cmd`
540
+ Specify lint commands to run for different languages, eg: "python: flake8 --select=..." (can be used multiple times)
541
+ Default: []
542
+ Environment variable: `AIDER_LINT_CMD`
543
+
544
+ ### `--auto-lint`
545
+ Enable/disable automatic linting after changes (default: True)
546
+ Default: True
547
+ Environment variable: `AIDER_AUTO_LINT`
548
+ Aliases:
549
+ - `--auto-lint`
550
+ - `--no-auto-lint`
551
+
552
+ ### `--test-cmd VALUE`
553
+ Specify command to run tests
554
+ Default: []
555
+ Environment variable: `AIDER_TEST_CMD`
556
+
557
+ ### `--auto-test`
558
+ Enable/disable automatic testing after changes (default: False)
559
+ Default: False
560
+ Environment variable: `AIDER_AUTO_TEST`
561
+ Aliases:
562
+ - `--auto-test`
563
+ - `--no-auto-test`
564
+
565
+ ### `--test`
566
+ Run tests, fix problems found and then exit
567
+ Default: False
568
+ Environment variable: `AIDER_TEST`
569
+
570
+ ## Analytics:
571
+
572
+ ### `--analytics`
573
+ Enable/disable analytics for current session (default: random)
574
+ Environment variable: `AIDER_ANALYTICS`
575
+ Aliases:
576
+ - `--analytics`
577
+ - `--no-analytics`
578
+
579
+ ### `--analytics-log ANALYTICS_LOG_FILE`
580
+ Specify a file to log analytics events
581
+ Environment variable: `AIDER_ANALYTICS_LOG`
582
+
583
+ ### `--analytics-disable`
584
+ Permanently disable analytics
585
+ Default: False
586
+ Environment variable: `AIDER_ANALYTICS_DISABLE`
587
+
588
+ ### `--analytics-posthog-host ANALYTICS_POSTHOG_HOST`
589
+ Send analytics to custom PostHog instance
590
+ Environment variable: `AIDER_ANALYTICS_POSTHOG_HOST`
591
+
592
+ ### `--analytics-posthog-project-api-key ANALYTICS_POSTHOG_PROJECT_API_KEY`
593
+ Send analytics to custom PostHog project
594
+ Environment variable: `AIDER_ANALYTICS_POSTHOG_PROJECT_API_KEY`
595
+
596
+ ## Upgrading:
597
+
598
+ ### `--just-check-update`
599
+ Check for updates and return status in the exit code
600
+ Default: False
601
+ Environment variable: `AIDER_JUST_CHECK_UPDATE`
602
+
603
+ ### `--check-update`
604
+ Check for new aider versions on launch
605
+ Default: True
606
+ Environment variable: `AIDER_CHECK_UPDATE`
607
+ Aliases:
608
+ - `--check-update`
609
+ - `--no-check-update`
610
+
611
+ ### `--show-release-notes`
612
+ Show release notes on first run of new version (default: None, ask user)
613
+ Environment variable: `AIDER_SHOW_RELEASE_NOTES`
614
+ Aliases:
615
+ - `--show-release-notes`
616
+ - `--no-show-release-notes`
617
+
618
+ ### `--install-main-branch`
619
+ Install the latest version from the main branch
620
+ Default: False
621
+ Environment variable: `AIDER_INSTALL_MAIN_BRANCH`
622
+
623
+ ### `--upgrade`
624
+ Upgrade aider to the latest version from PyPI
625
+ Default: False
626
+ Environment variable: `AIDER_UPGRADE`
627
+ Aliases:
628
+ - `--upgrade`
629
+ - `--update`
630
+
631
+ ### `--version`
632
+ Show the version number and exit
633
+
634
+ ## Modes:
635
+
636
+ ### `--message COMMAND`
637
+ Specify a single message to send the LLM, process reply then exit (disables chat mode)
638
+ Environment variable: `AIDER_MESSAGE`
639
+ Aliases:
640
+ - `--message COMMAND`
641
+ - `--msg COMMAND`
642
+ - `-m COMMAND`
643
+
644
+ ### `--message-file MESSAGE_FILE`
645
+ Specify a file containing the message to send the LLM, process reply, then exit (disables chat mode)
646
+ Environment variable: `AIDER_MESSAGE_FILE`
647
+ Aliases:
648
+ - `--message-file MESSAGE_FILE`
649
+ - `-f MESSAGE_FILE`
650
+
651
+ ### `--gui`
652
+ Run aider in your browser (default: False)
653
+ Default: False
654
+ Environment variable: `AIDER_GUI`
655
+ Aliases:
656
+ - `--gui`
657
+ - `--no-gui`
658
+ - `--browser`
659
+ - `--no-browser`
660
+
661
+ ### `--copy-paste`
662
+ Enable automatic copy/paste of chat between aider and web UI (default: False)
663
+ Default: False
664
+ Environment variable: `AIDER_COPY_PASTE`
665
+ Aliases:
666
+ - `--copy-paste`
667
+ - `--no-copy-paste`
668
+
669
+ ### `--apply FILE`
670
+ Apply the changes from the given file instead of running the chat (debug)
671
+ Environment variable: `AIDER_APPLY`
672
+
673
+ ### `--apply-clipboard-edits`
674
+ Apply clipboard contents as edits using the main model's editor format
675
+ Default: False
676
+ Environment variable: `AIDER_APPLY_CLIPBOARD_EDITS`
677
+
678
+ ### `--exit`
679
+ Do all startup activities then exit before accepting user input (debug)
680
+ Default: False
681
+ Environment variable: `AIDER_EXIT`
682
+
683
+ ### `--show-repo-map`
684
+ Print the repo map and exit (debug)
685
+ Default: False
686
+ Environment variable: `AIDER_SHOW_REPO_MAP`
687
+
688
+ ### `--show-prompts`
689
+ Print the system prompts and exit (debug)
690
+ Default: False
691
+ Environment variable: `AIDER_SHOW_PROMPTS`
692
+
693
+ ## Voice settings:
694
+
695
+ ### `--voice-format VOICE_FORMAT`
696
+ Audio format for voice recording (default: wav). webm and mp3 require ffmpeg
697
+ Default: wav
698
+ Environment variable: `AIDER_VOICE_FORMAT`
699
+
700
+ ### `--voice-language VOICE_LANGUAGE`
701
+ Specify the language for voice using ISO 639-1 code (default: auto)
702
+ Default: en
703
+ Environment variable: `AIDER_VOICE_LANGUAGE`
704
+
705
+ ### `--voice-input-device VOICE_INPUT_DEVICE`
706
+ Specify the input device name for voice recording
707
+ Environment variable: `AIDER_VOICE_INPUT_DEVICE`
708
+
709
+ ## Other settings:
710
+
711
+ ### `--disable-playwright`
712
+ Never prompt for or attempt to install Playwright for web scraping (default: False).
713
+ Default: False
714
+ Environment variable: `AIDER_DISABLE_PLAYWRIGHT`
715
+
716
+ ### `--file FILE`
717
+ specify a file to edit (can be used multiple times)
718
+ Environment variable: `AIDER_FILE`
719
+
720
+ ### `--read FILE`
721
+ specify a read-only file (can be used multiple times)
722
+ Environment variable: `AIDER_READ`
723
+
724
+ ### `--vim`
725
+ Use VI editing mode in the terminal (default: False)
726
+ Default: False
727
+ Environment variable: `AIDER_VIM`
728
+
729
+ ### `--chat-language CHAT_LANGUAGE`
730
+ Specify the language to use in the chat (default: None, uses system settings)
731
+ Environment variable: `AIDER_CHAT_LANGUAGE`
732
+
733
+ ### `--commit-language COMMIT_LANGUAGE`
734
+ Specify the language to use in the commit message (default: None, user language)
735
+ Environment variable: `AIDER_COMMIT_LANGUAGE`
736
+
737
+ ### `--yes-always`
738
+ Always say yes to every confirmation
739
+ Environment variable: `AIDER_YES_ALWAYS`
740
+
741
+ ### `--verbose`
742
+ Enable verbose output
743
+ Default: False
744
+ Environment variable: `AIDER_VERBOSE`
745
+ Aliases:
746
+ - `-v`
747
+ - `--verbose`
748
+
749
+ ### `--load LOAD_FILE`
750
+ Load and execute /commands from a file on launch
751
+ Environment variable: `AIDER_LOAD`
752
+
753
+ ### `--encoding VALUE`
754
+ Specify the encoding for input and output (default: utf-8)
755
+ Default: utf-8
756
+ Environment variable: `AIDER_ENCODING`
757
+
758
+ ### `--line-endings VALUE`
759
+ Line endings to use when writing files (default: platform)
760
+ Default: platform
761
+ Environment variable: `AIDER_LINE_ENDINGS`
762
+
763
+ ### `--config CONFIG_FILE`
764
+ Specify the config file (default: search for .aider.conf.yml in git root, cwd or home directory)
765
+ Aliases:
766
+ - `-c CONFIG_FILE`
767
+ - `--config CONFIG_FILE`
768
+
769
+ ### `--env-file ENV_FILE`
770
+ Specify the .env file to load (default: .env in git root)
771
+ Default: .env
772
+ Environment variable: `AIDER_ENV_FILE`
773
+
774
+ ### `--suggest-shell-commands`
775
+ Enable/disable suggesting shell commands (default: True)
776
+ Default: True
777
+ Environment variable: `AIDER_SUGGEST_SHELL_COMMANDS`
778
+ Aliases:
779
+ - `--suggest-shell-commands`
780
+ - `--no-suggest-shell-commands`
781
+
782
+ ### `--fancy-input`
783
+ Enable/disable fancy input with history and completion (default: True)
784
+ Default: True
785
+ Environment variable: `AIDER_FANCY_INPUT`
786
+ Aliases:
787
+ - `--fancy-input`
788
+ - `--no-fancy-input`
789
+
790
+ ### `--multiline`
791
+ Enable/disable multi-line input mode with Meta-Enter to submit (default: False)
792
+ Default: False
793
+ Environment variable: `AIDER_MULTILINE`
794
+ Aliases:
795
+ - `--multiline`
796
+ - `--no-multiline`
797
+
798
+ ### `--notifications`
799
+ Enable/disable terminal bell notifications when LLM responses are ready (default: False)
800
+ Default: False
801
+ Environment variable: `AIDER_NOTIFICATIONS`
802
+ Aliases:
803
+ - `--notifications`
804
+ - `--no-notifications`
805
+
806
+ ### `--notifications-command COMMAND`
807
+ Specify a command to run for notifications instead of the terminal bell. If not specified, a default command for your OS may be used.
808
+ Environment variable: `AIDER_NOTIFICATIONS_COMMAND`
809
+
810
+ ### `--detect-urls`
811
+ Enable/disable detection and offering to add URLs to chat (default: True)
812
+ Default: True
813
+ Environment variable: `AIDER_DETECT_URLS`
814
+ Aliases:
815
+ - `--detect-urls`
816
+ - `--no-detect-urls`
817
+
818
+ ### `--editor VALUE`
819
+ Specify which editor to use for the /editor command
820
+ Environment variable: `AIDER_EDITOR`
821
+
822
+ ### `--shell-completions SHELL`
823
+ Print shell completion script for the specified SHELL and exit. Supported shells: bash, tcsh, zsh. Example: aider --shell-completions bash
824
+ Environment variable: `AIDER_SHELL_COMPLETIONS`
825
+
826
+ ## Deprecated model settings:
827
+
828
+ ### `--opus`
829
+ Use claude-3-opus-20240229 model for the main chat (deprecated, use --model)
830
+ Default: False
831
+ Environment variable: `AIDER_OPUS`
832
+
833
+ ### `--sonnet`
834
+ Use anthropic/claude-3-7-sonnet-20250219 model for the main chat (deprecated, use --model)
835
+ Default: False
836
+ Environment variable: `AIDER_SONNET`
837
+
838
+ ### `--haiku`
839
+ Use claude-3-5-haiku-20241022 model for the main chat (deprecated, use --model)
840
+ Default: False
841
+ Environment variable: `AIDER_HAIKU`
842
+
843
+ ### `--4`
844
+ Use gpt-4-0613 model for the main chat (deprecated, use --model)
845
+ Default: False
846
+ Environment variable: `AIDER_4`
847
+ Aliases:
848
+ - `--4`
849
+ - `-4`
850
+
851
+ ### `--4o`
852
+ Use gpt-4o model for the main chat (deprecated, use --model)
853
+ Default: False
854
+ Environment variable: `AIDER_4O`
855
+
856
+ ### `--mini`
857
+ Use gpt-4o-mini model for the main chat (deprecated, use --model)
858
+ Default: False
859
+ Environment variable: `AIDER_MINI`
860
+
861
+ ### `--4-turbo`
862
+ Use gpt-4-1106-preview model for the main chat (deprecated, use --model)
863
+ Default: False
864
+ Environment variable: `AIDER_4_TURBO`
865
+
866
+ ### `--35turbo`
867
+ Use gpt-3.5-turbo model for the main chat (deprecated, use --model)
868
+ Default: False
869
+ Environment variable: `AIDER_35TURBO`
870
+ Aliases:
871
+ - `--35turbo`
872
+ - `--35-turbo`
873
+ - `--3`
874
+ - `-3`
875
+
876
+ ### `--deepseek`
877
+ Use deepseek/deepseek-chat model for the main chat (deprecated, use --model)
878
+ Default: False
879
+ Environment variable: `AIDER_DEEPSEEK`
880
+
881
+ ### `--o1-mini`
882
+ Use o1-mini model for the main chat (deprecated, use --model)
883
+ Default: False
884
+ Environment variable: `AIDER_O1_MINI`
885
+
886
+ ### `--o1-preview`
887
+ Use o1-preview model for the main chat (deprecated, use --model)
888
+ Default: False
889
+ Environment variable: `AIDER_O1_PREVIEW`
890
+ <!--[[[end]]]-->