How do I completely uninstall on Mac?

I want to do a clean install.

I’ve trashed it from the Applications folder. There was a .cursor folder elsewhere that I found and deleted. But when I ran the installer again it just started up the app like nothing ever happened. Where are the other files located?

I saw these commands from another comment:

    rm -rf ~/Library/Application Support/Cursor
    rm -rf ~/.cursor*

I ran them and tried the Cursor installer again. Like before, it started up as if nothing happened. Can I force Cursor to go through onboarding again somehow? I really want to try this out, especially since my 14 day trial is ticking away, but I need to do a clean install first.

Hey, you can uninstall Cursor by following this guide. By the way, the commands you provided do exactly that. Didn’t that help you?

Apologies for the confusion earlier! Here’s the entire content in proper Markdown format:

### How to Verify the Uninstallation of Visual Studio Code (VS Code)

To verify that Visual Studio Code (or any other application) has been uninstalled successfully and check for residual files, follow these steps based on your operating system:

#### Windows

**Check Program Files:**  
Open File Explorer and navigate to:  
- `C:\Program Files`  
- `C:\Program Files (x86)` (for 64-bit systems)  
Look for any remaining Visual Studio Code or VS Code directories and delete them manually if found.

**Search for VS Code Files:**  
Open File Explorer and search for:  
- `Code.exe`  
- `Visual Studio Code`  
Make sure to search in these directories:  
- `C:\Users\YourUsername\AppData\Local`  
- `AppData\Roaming`  
- `%ProgramData%`

**Registry Check:**  
Press `Win + R`, type `regedit` to open the Registry Editor.  
Search for "Visual Studio Code" under:  
- `HKEY_CURRENT_USER\Software`  
- `HKEY_LOCAL_MACHINE\Software`  
Delete any remaining registry entries for Visual Studio Code.

#### macOS

**Check the Applications Folder:**  
Open Finder and navigate to the Applications folder.  
Ensure that `Visual Studio Code.app` is completely removed.

**Search for Remaining Files:**  
Open Finder and press `Cmd + F`.  
Search for terms like:  
- `Visual Studio Code`  
- `VS Code`  
- `Code`  
Look for residual files under the Library directories:  
- `~/Library/Application Support/Code`  
- `~/Library/Preferences/com.microsoft.VSCode.plist`  
- `~/Library/Caches/com.microsoft.VSCode`

**Terminal Command (Optional):**  
You can use the following command to search for any VS Code-related files:

```bash
sudo find / -name "*vscode*" -or -name "*Code*"

Linux

Search for VS Code Files:
Open a terminal and run:

sudo find / -name "*code*" -or -name "*vscode*"

This will search your entire file system for any remaining Visual Studio Code files.

Check Package Manager:
If you installed VS Code using a package manager (like apt, yum, or dnf), ensure there are no residual packages:

dpkg --list | grep code

If any residual packages are found, you can remove them with:

sudo apt-get purge code

User Data:
Check for leftover settings and data directories:

  • ~/.config/Code
  • ~/.vscode
    Delete them if they still exist.

Additional Search Example for Residual Files

If you want to search for any files related to “cursor” in your system but exclude the node_modules directory, you can use the following find command:

find /home/<user> /usr/local /opt -type f -name "*cursor*" -not -path "*/node_modules/*" 2>/dev/null

Explanation:

  • /home/<user> /usr/local /opt: Directories to search in.
  • -type f: Search for files only (not directories).
  • -name "*cursor*": Match files that contain “cursor” in their name.
  • -not -path "*/node_modules/*": Exclude files located in the node_modules directory.
  • 2>/dev/null: Redirect errors (like “Permission denied”) to /dev/null to suppress them from the output.