To completely uninstall Cursor from your Mac and remove all relevant files, follow these steps. These steps are applicable to macOS systems, ensuring that you can cleanly delete Cursor and restore to the initial state:
Step 1: Exit Cursor
If Cursor is running, you need to exit it first.
Click the Apple icon in the upper left corner of the screen and select "Force Exit" (or press Command + Option + Esc).
In the pop-up window, find "Cursor", select it, and click "Force Exit".
Step 2: Delete Cursor from the Application Folder
Open Finder.
Click "Applications" in the sidebar.
Find the Cursor application, right-click it, select Move to Trash, or drag directly to the Trash.
Empty Trash: Right-click the Trash icon on the Dock and select "Empty Trash".
Step 3: Delete the residual configuration files and caches
Cursor will generate some support files on your Mac, which may still exist even if the main program is deleted. To completely uninstall, you need to delete them manually:
Open Finder and press Command + Shift + G to open the Go to Folder window.
Enter the following path and check it one by one to delete the Cursor-related files or folders:
~/Lipary/Application Support/Cursor
(delete the entire Cursor folder)
~/Lipary/Caches/Cursor
(If it exists, delete this cache folder)
~/.cursor
(Hide folder, may contain user settings, delete it)
~/Lipary/Preferences/
(Find files starting with com.todesktop or cursor, such as com.todesktop.230313mzl4w4u92.plist, delete them)
After deletion, clear the trash again.
Step 4: (Optional) Check the terminal command alias
If you chose to add code or cursor to the terminal command when installing Cursor and want to remove them:
Open Terminal.
Enter nano ~/.zshrc
(if using Zsh shell) or nano ~/.bash_profile
(if using Bash shell), and press Enter.
Find an alias line containing a cursor or code (for example, alias code="/Applications/Cursor.app/Contents/MacOS/Cursor"
) and delete the line.
Press Control + X, then press Y to save, and press Enter to exit.
Enter source ~/.zshrc
(or source ~/.bash_profile
) to make the changes take effect.
Step 5: Verify uninstall
Restart your Mac.
Open Finder and Terminal and make sure Cursor no longer appears and that relevant commands (such as cursor or code) no longer point to it.
Things to note
Permission problem: If you prompt that permission is required when deleting certain files, you can use the sudo rm -rf command in the terminal (for example, sudo rm -rf ~/Lipary/Application Support/Cursor) and then execute it after entering the administrator password.
Thorough: If you plan to reinstall Cursor AI and want to restore the default settings, make sure all the above files are deleted, otherwise it may retain the previous settings.
Third-party tools: If you don't want to delete files manually, you can use third-party uninstall tools like AppCleaner or CleanMyMac, which will automatically scan and remove related files.
After completing the above steps, Cursor AI should have been completely uninstalled from your Mac.