How to uninstall Cursor CLI?

Since I installed Cursor CLI, some of keyboard shortcuts have been hijacked.

For instance, shift+enter no longer works in Claude Code (used as extension in Cursor IDE). When in CC editor/tab, ctrl+tab to switch back to the code editor/tab does not work.

I don’t know what is the source of this problem, I’d like to know that but, since I am not using Cursor CLI, I’d like to uninstall that as my first step to figure this out.

So, please any one, instruct me how to uninstall Cursor CLI (cursor-agent).

Thanks.

1 Like

Hey, no need to remove Cursor CLI. This is a Cursor update issue. Please check this thread:

1 Like

Thank you for pointing that out. I’ll wait.

But generally, what if someone wanted to uninstall the Cursor CLI? Is there a way?

3 Likes

I want to uninstall only the CLI. How can I do it?

1 Like

Cursor CLI just installs to the ~/.local directory, there are 2 folders in the directory “bin” and “share”. If you did not have this folder previously you could just remove the whole directory “rm -R ~/.local” but you will want to check it and make sure there is nothing else there. If there is, you can just remove the cursor specific files (you can see what cursor-agent is referencing in the “~/.local/bin” folder - do “ls -l” and it will show you what it links too).

You will probably also want to update ~/.bashrc and remove the line “export PATH=“$HOME/.local/bin:$PATH”” if you didn’t have this folder before.

Also, you can delete the configuration files in ~/.cursor

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.