← All errors · CursorCursor editor & agent errors

cursor: command not found

Exact error

zsh: command not found: cursor

What it means

Your shell can't find the cursor CLI launcher because it hasn't been added to PATH.

Likely causes

How to fix it

  1. In Cursor, open the Command Palette (Cmd/Ctrl+Shift+P) and run "Install 'cursor' command" (shown as Shell Command: Install 'cursor' command in PATH).

  2. Open a new terminal and test:

    cursor --version
    cursor .

Prevent this next time

FAQ

What does "cursor: command not found" mean?

Your shell can't find the cursor CLI launcher because it hasn't been added to PATH.

What usually causes it?

The shell command was never installed from inside Cursor. PATH changed or a new shell profile is in use.

How do I fix it?

1. In Cursor, open the Command Palette (Cmd/Ctrl+Shift+P) and run "Install 'cursor' command" (shown as Shell Command: Install 'cursor' command in PATH). 2. Open a new terminal and test:

Related errors

Get new fixes weekly

No spam. Unsubscribe anytime. Privacy