← 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
- The shell command was never installed from inside Cursor.
- PATH changed or a new shell profile is in use.
How to fix it
In Cursor, open the Command Palette (Cmd/Ctrl+Shift+P) and run "Install 'cursor' command" (shown as Shell Command: Install 'cursor' command in PATH).
Open a new terminal and test:
cursor --version cursor .
Prevent this next time
- Commit before letting the agent make large changes so you can always roll back.
- Put recurring instructions in project rules instead of repeating them in chat.
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