Aider not found

In some environments the aider command may not be available on your shell path. This can occur because of permissions/security settings in your OS, and often happens to Windows users.

You may see an error message like this:

aider: The term ‘aider’ is not recognized as a name of a cmdlet, function, script file, or executable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

Below is the most fail safe way to install and run aider in these situations:

python -m pip install -U aider-chat
python -m aider

The best way to install aider is with pipx or uv once for your whole system. Or, using a python virtual environment is recommended.