diff --git a/aider/website/_includes/python-m-aider.md b/aider/website/_includes/python-m-aider.md index fe8f5d499..4eb97cd5e 100644 --- a/aider/website/_includes/python-m-aider.md +++ b/aider/website/_includes/python-m-aider.md @@ -1,4 +1,5 @@ {: .tip } -In some environments the `aider` command may not be available -on your shell path. -You can also run aider like this: `python -m aider` +In some environments you may get "aider command not found" errors. +You can try `python -m aider` or +[see here for more info](/docs/troubleshooting/aider-not-found.html). + diff --git a/aider/website/_includes/venv-pipx.md b/aider/website/_includes/venv-pipx.md new file mode 100644 index 000000000..3b2d0fc00 --- /dev/null +++ b/aider/website/_includes/venv-pipx.md @@ -0,0 +1,7 @@ +{: .tip } +Using a Python +[virtual environment](https://docs.python.org/3/library/venv.html){:target="_blank"} +is recommended. +Or, you could +[use pipx to install aider](/docs/install/pipx.html) +once for your whole system. diff --git a/aider/website/docs/install/install.md b/aider/website/docs/install/install.md index 18ffa09e0..71cf419bf 100644 --- a/aider/website/docs/install/install.md +++ b/aider/website/docs/install/install.md @@ -25,13 +25,7 @@ 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). -{: .tip } -Using a Python -[virtual environment](https://docs.python.org/3/library/venv.html){:target="_blank"} -is recommended. -Or, you could -[use pipx to install aider](/docs/install/pipx.html) -once for your whole system. +{% include venv-pipx.md %} ## Mac/Linux install