Skip to main content
Watch: I Built an AI App Without Leaving Databricks

Aider error

Aider: aider: The term 'aider' is not recognized as a name of a cmdlet...

Error message
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.

Status: WorkaroundLast verified 3 documented fixes2 sources

What it means

The aider command is not on your shell PATH, so the shell cannot find it.

Causes

  • Permissions or security settings in your OS; this often happens to Windows users (official docs).

How to fix it

  1. Fix 1.

    Run aider through Python, which the docs call the most fail safe way.

    Terminal
    python -m aider
  2. Fix 2.

    Install aider with aider-install, uv or pipx.

    Terminal
    python -m pip install uv  # If you need to install uv
    uv tool install --force --python python3.12 --with pip aider-chat@latest
  3. Fix 3.

    Or use the official Windows one-liner.

    Snippet
    powershell -ExecutionPolicy ByPass -c "irm https://aider.chat/install.ps1 | iex"

More Aider errors

All 17 Aider errors

FAQ

What does "aider: The term 'aider' is not recognized as a name of a cmdlet..." mean in Aider?

The aider command is not on your shell PATH, so the shell cannot find it.

How do I fix "aider: The term 'aider' is not recognized as a name of a cmdlet..."?

There are 3 documented fixes. Start with the first: Run aider through Python, which the docs call the most fail safe way.

Is this Aider error fixed?

Status: Workaround. No release removes the cause. The documented fixes work around it. Affected versions: All versions; mainly Windows.

Sources

Last verified against 2 sources: official docs, maintainer replies and release notes.

Newsletter

Fixes for the tools you use, weekly

One email per week. New coding agent releases, what broke, and how developers are working around it.