diff --git a/README.md b/README.md index 4bfd7101b..f5d2f53f9 100644 --- a/README.md +++ b/README.md @@ -53,10 +53,10 @@ aider-install cd /to/your/git/repo # Work with Claude 3.5 Sonnet on your repo -aider --anthropic-api-key=your-key-goes-here +aider --model sonnet --anthropic-api-key your-key-goes-here # Work with GPT-4o on your repo -aider --openai-api-key=your-key-goes-here +aider --model gpt-4o --openai-api-key your-key-goes-here ``` diff --git a/aider/website/_includes/get-started.md b/aider/website/_includes/get-started.md index 080978eb7..bcc074270 100644 --- a/aider/website/_includes/get-started.md +++ b/aider/website/_includes/get-started.md @@ -9,8 +9,8 @@ aider-install cd /to/your/git/repo # Work with Claude 3.5 Sonnet on your repo -aider --anthropic-api-key your-key-goes-here +aider --model sonnet --anthropic-api-key your-key-goes-here # Work with GPT-4o on your repo -aider --openai-api-key your-key-goes-here +aider --model gpt-4o --openai-api-key your-key-goes-here ``` diff --git a/aider/website/_includes/venv-pipx.md b/aider/website/_includes/venv-pipx.md index a1fa2fd5e..bb344dbd8 100644 --- a/aider/website/_includes/venv-pipx.md +++ b/aider/website/_includes/venv-pipx.md @@ -1,9 +1,5 @@ {: .tip } -The best way to install aider is with +Other recommended ways to install aider are via [pipx](/docs/install/pipx.html) or -[uv](/docs/install/uv.html) -once for your whole system. -Or, using a python -[virtual environment](https://docs.python.org/3/library/venv.html){:target="_blank"} -is recommended. +[uv](/docs/install/uv.html). diff --git a/aider/website/assets/sample-analytics.jsonl b/aider/website/assets/sample-analytics.jsonl index 839ce802d..2c3b0b73e 100644 --- a/aider/website/assets/sample-analytics.jsonl +++ b/aider/website/assets/sample-analytics.jsonl @@ -1,6 +1,3 @@ -{"event": "exit", "properties": {"reason": "Control-C"}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1733786363} -{"event": "launched", "properties": {}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1733786366} -{"event": "repo", "properties": {"num_files": 404}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1733786366} {"event": "cli session", "properties": {"main_model": "claude-3-5-sonnet-20241022", "weak_model": "claude-3-5-sonnet-20241022", "editor_model": "claude-3-5-sonnet-20241022", "edit_format": "diff"}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1733786366} {"event": "command_run", "properties": {}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1733786369} {"event": "command_exit", "properties": {}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1733786379} @@ -998,3 +995,6 @@ {"event": "launched", "properties": {}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1734198621} {"event": "repo", "properties": {"num_files": 411}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1734198623} {"event": "exit", "properties": {"reason": "Completed lint/test/commit"}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1734198626} +{"event": "launched", "properties": {}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1734227059} +{"event": "gui session", "properties": {}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1734227059} +{"event": "exit", "properties": {"reason": "GUI session ended"}, "user_id": "c42c4e6b-f054-44d7-ae1f-6726cc41da88", "time": 1734227059} diff --git a/aider/website/docs/install/install.md b/aider/website/docs/install/install.md index 56295f8da..afe31cb4e 100644 --- a/aider/website/docs/install/install.md +++ b/aider/website/docs/install/install.md @@ -6,29 +6,10 @@ nav_order: 10 # Installing aider {: .no_toc } -- TOC -{:toc} - ## Python version Aider currently works with python 3.9-3.12. -## Install git - -Make sure you have git installed. -Here are -[instructions for installing git in various environments](https://github.com/git-guides/install-git). - -## Get your API key - -To work with OpenAI's models like GPT-4o or GPT-3.5 you need a paid -[OpenAI API key](https://help.openai.com/en/articles/4936850-where-do-i-find-my-secret-api-key). -Note that this is different than being a "ChatGPT Plus" subscriber. - -To work with Anthropic's models like Claude 3.5 Sonnet you need a paid -[Anthropic API key](https://docs.anthropic.com/claude/reference/getting-started-with-the-api). - - {% include venv-pipx.md %} ## Mac/Linux install @@ -59,6 +40,22 @@ aider --sonnet --anthropic-api-key sk-xxx... {% include python-m-aider.md %} +## Install git + +Make sure you have git installed. +Here are +[instructions for installing git in various environments](https://github.com/git-guides/install-git). + +## Get your API key + +To work with OpenAI's models like GPT-4o or GPT-3.5 you need a paid +[OpenAI API key](https://help.openai.com/en/articles/4936850-where-do-i-find-my-secret-api-key). +Note that this is different than being a "ChatGPT Plus" subscriber. + +To work with Anthropic's models like Claude 3.5 Sonnet you need a paid +[Anthropic API key](https://docs.anthropic.com/claude/reference/getting-started-with-the-api). + + ## Working with other LLMs {% include works-best.md %} diff --git a/aider/website/index.md b/aider/website/index.md index 329df8bd2..3f9861370 100644 --- a/aider/website/index.md +++ b/aider/website/index.md @@ -80,10 +80,10 @@ aider-install cd /to/your/git/repo # Work with Claude 3.5 Sonnet on your repo -aider --anthropic-api-key=your-key-goes-here +aider --model sonnet --anthropic-api-key your-key-goes-here # Work with GPT-4o on your repo -aider --openai-api-key=your-key-goes-here +aider --model gpt-4o --openai-api-key your-key-goes-here ```