Skip to Content

Simple Fix to Resolve macOS App Uninstall Issue with sudo rm -rf Terminal Command

If you’re struggling to uninstall an app using the ‘sudo rm -rf’ Terminal command on your Mac, this guide provides quick solutions.

While dragging an app to the trash or using Command + Delete is the simplest method, it often leaves residual files on your Mac. To ensure a thorough uninstallation without leftovers, many users turn to the Terminal route, known for its effectiveness.

Problem

Despite its technical nature, the Terminal method guarantees a clean removal. However, some users are currently facing challenges. Even after granting administrative privileges and restarting, the ‘sudo rm -rf’ command remains ineffective. If you’re encountering this issue, follow this guide for a resolution.

Solution: Enable Full Disk Access

If the Terminal struggles to uninstall apps, it might lack full disk access. Follow these steps to grant the necessary permission and ensure smooth app removal:

  1. Launch System Settings and navigate to Privacy and Security.
  2. Access Full Disk Access and toggle it on for Terminal.
  3. Open Terminal from Launchpad > Others or Finder > Application.
  4. Enter the following command [with a space after it]: sudo rm -rf
  5. Drag and drop the desired app next to the command, then press Enter.
  6. Enter your password when prompted, and the app will be uninstalled.

Enable Full Disk Access for Terminal to Resolve macOS App Uninstall Issue with sudo rm -rf Terminal Command

These straightforward steps resolve the issue of the ‘sudo rm -rf’ Terminal command being unable to uninstall apps on Mac. For any questions about these steps, feel free to comment. We’ll promptly provide a solution.

Read more: How Do i Uninstall, Remove, Delete Software Apps Programs on macOS?