August 22, 2025

Uninstall Visual Studio on Mac

Maksym Sushchuk
Written by
Experienced tech writer with 15 years of translating complex Mac concepts into clear, user-friendly content.

Maksym Sushchuk

Alex Holovchenko
Approved by
The content has been reviewed and approved by our team member, an Apple Certified Support Professional, who provides technical support to Nektony’s users.

Alex Holovchenko

Share

When Microsoft retired Visual Studio for Mac in August 2024, I took the hint and switched to Visual Studio Code. But I didn’t rush to remove the old integrated development environment … until now.

If you’re also cleaning the house and are finally ready to uninstall Visual Studio for Mac, this guide will walk you through three effective, step-by-step methods.

Save time and avoid hidden leftovers

Visual Studio for Mac installs more than just an app. It brings along SDKs, extensions, and support files scattered across your system. App Cleaner & Uninstaller by Nektony finds and removes all related components in just a few clicks, so you can fully uninstall Visual Studio without digging through system folders.

Uninstalling Visual Studio for Mac: Method comparison

Below is a quick comparison of the three main removal options, helping you decide which one suits your situation best:

Method Ease of use Completeness Control Ideal for
Official script (Microsoft) ★★☆
Run a script from Microsoft’s guide
★★★
Removes app and key components (Mono/Xamarin)
★★☆
Script does its work
Users comfortable with Terminal, less familiar with the filesystem
Manual via Finder ★☆☆
Requires opening multiple locations
★★☆
Only if you hit all paths
★★★
Full transparency
Users who want fine control
With App Cleaner & Uninstaller ★★★
Just a couple of clicks
★★★
The tool finds all app leftovers
★★★
You can review the files found
Users wanting a fast, safe cleanup without Terminal
  • Microsoft’s official uninstall procedure (last updated for Visual Studio  for  Mac 2022) provides a shell script to remove the app bundle and related Cocoa frameworks. It also sweeps away Mono, Xamarin, and .NET components.
  • For hands‑on users, manually removing Visual Studio and all artifacts is possible. This approach involves accessing various folders via Finder and gives you full control if you don’t skip any paths. Otherwise, you might leave leftovers.
  • With App Cleaner & Uninstaller by Nektony, you can find and remove the Visual Studio bundle and all its service files automatically with a couple of clicks. If you’re tech-savvy, you can review the list or confirm leftover removal straight away.

Before you uninstall Visual Studio for Mac

1. Sign out of your accounts

If you’re signed in to Microsoft services or GitHub through Visual Studio, sign out first. This can help avoid annoying sync or permission errors during the removal process.

2. Remove extensions and language packs

Visual Studio often has additional components like C#, .NET runtimes, or mobile SDKs installed. Open the IDE and remove any extensions, workloads, or language packs you no longer need. This increases the chances of cleaning up all related service files.

3. Back up your projects

Don’t assume your code is safely stored in the cloud. If you haven’t synced your projects to GitHub or another repository, back them up manually. Visual Studio may store them locally, and once the app is gone, so might be your work.

Uninstall Visual Studio for Mac via Microsoft’s official script

Microsoft provides an official shell script to help remove Visual Studio for Mac and its supporting components. It’s a clean, supported approach, especially if you want to uninstall everything the IDE brought in (including Mono and Xamarin SDKs).

Note:

This method follows Microsoft’s official uninstallation guide and requires using Terminal and admin permissions.

Step 1: Download the official uninstallation script

Click the link to download the Visual Studio uninstallation script.

If the script opens as text in your browser, press Cmd+S to save it as 
uninstall-vsmac.sh

Copy

in your Downloads folder.

Step 2: Run the script in Terminal

  1. Open Terminal.
  2. Type the command below and hit Return to navigate to the folder where the script was downloaded:
    cd ~/Downloads

    Copy

  3. Use this command to make the script executable:
    chmod +x uninstall-vsmac.sh

    Copy

  4. Then run the script:
    sudo ./uninstall-vsmac.sh

    Copy

    terminal 1
  5. Enter your Mac password when prompted. (If you don’t see it as you type, this is expected behavior in Terminal.)

The script will remove:

  • Visual Studio for Mac app
  • Mono Framework
  • Xamarin.iOS and Xamarin.Mac SDKs
  • Android SDK and NDK components (if installed via Visual Studio)
  • Related receipts and preferences

Once complete, the Terminal will return to your prompt without errors.

terminal 2

(Optional) Step 3: Remove .NET Core SDKs

Note:

The following guide will remove all versions of the .NET SDK and runtime from your Mac. Before proceeding, be sure you don’t need them for other development environments.

If you’ve been working with .NET Core or ASP.NET Core, you likely have .NET SDKs installed outside the Visual Studio app bundle. These won’t be removed by the default uninstall script.

vs window

To clean them up:

  1. Download the official script from Microsoft.
  2. Save it as 
    dotnet_uninstall-pkgs.sh

    Copy

  3. Open Terminal.
  4. Type the following command and hit Return to navigate to your Downloads folder.
    cd ~/Downloads

    Copy

  5. Use this command to make the script executable:
    chmod +x dotnet_uninstall-pkgs.sh

    Copy

  6. Run it with admin rights:
    sudo ./dotnet_uninstall-pkgs.sh

    Copy

Once the Terminal returns to your prompt without errors, you have successfully uninstalled Visual Studio for Mac along with related .NET components.

terminal 3

Note:

You can now remove dotnet_uninstall-vsmac.sh and uninstall-pkgs.sh from your Downloads folder.

Manually remove Visual Studio for Mac using Finder

Prefer not to run scripts or third-party tools? You can uninstall Visual Studio for Mac manually by locating and deleting its files via Finder. This method gives you full control; just make sure to follow the steps carefully to avoid leaving behind service files.

Note:

This instruction was tested on macOS 15 for Visual Studio 2022. The list might differ if you have different versions of the OS and the app.

Step 1: Remove the application itself

In Finder, go to your Applications folder and move Visual Studio.app to the Trash.

In Finder, go to your Applications folder and move Visual Studio.app to the Trash.

You can also remove the following apps if you have them installed – those are parts of Visual Studio:

  • Visual Studio (Preview).app (if installed)
  • Xamarin Profiler.app (if used)

Step 2: Delete user-level support files from ~/Library

  1. Proceed to 
    ~/Library

    Copy

  2. Then check each of the following paths. If the folder or the file exists, move it to the Trash:

    • Application Support:

      ~/Library/Application Support/VisualStudio

      Copy

      ~/Library/Application Support/Microsoft Visual Studio

      Copy

      ~/Library/Application Support/VisualStudio/7.0/LocalInstall/Addins/

      Copy

    • Move Vs to trash

    • Preferences:

      ~/Library/Preferences/VisualStudio

      Copy

      ~/Library/Preferences/com.microsoft.visual-studio.plist

      Copy

      ~/Library/Preferences/Xamarin/

      Copy

    • Caches

      ~/Library/Caches/VisualStudio

      Copy

      ~/Library/Caches/VisualStudioInstaller

      Copy

      ~/Library/Caches/com.microsoft.visual-studio

      Copy

      ~/Library/Caches/XamarinInstaller

      Copy

      ~/Library/Saved Application State/com.microsoft.visual-studio.savedState

      Copy

    • Remove VS support files

    • Logs

      ~/Library/Logs/VisualStudio

      Copy

      ~/Library/Logs/VisualStudioInstaller

      Copy

      ~/Library/Logs/XamarinInstaller

      Copy

    • Others:

      ~/Library/VisualStudio

      Copy

      ~/Library/Xamarin.Mac

      Copy

      ~/Library/MonoAndroid

      Copy

      ~/Library/MonoTouch

      Copy

      ~/.templateengine/Visual Studio

      Copy

      ~/.mono/registry/CurrentUser/software/microsoft/visualstudio

      Copy

      ~/.config/xbuild

      Copy

Step 3: Delete system-level components from /Library and /Developer

Some Visual Studio components, especially Xamarin SDKs, are installed system-wide. You’ll need admin rights to remove these.

  1. First, get to 
    /Library

    Copy

  2. In this folder, remove the following files and subfolders:

    • Frameworks and Add-ons:

      /Library/Frameworks/Xamarin.Android.framework

      Copy

      /Library/Frameworks/Xamarin.iOS.framework

      Copy

      /Library/Frameworks/Xamarin.Mac.framework

      Copy

      /Library/Frameworks/Xamarin.Interactive.framework

      Copy

    Remove frameworks

  3. Proceed to 
    /Developer

    Copy

    and remove the following files:
    • /Developer/MonoDroid

      Copy

    • /Developer/MonoTouch

      Copy

Step 4: Clean up receipts and .NET tools

  1. Go to 
    /private/var/db/receipts

    Copy

  2. In this folder, search for dotnet and remove the files you find. Here’s a list of files you will most probably find:
    • Package Receipts

      com.microsoft.dotnet.dev.2.1.302.component.osx.x64.bom

      Copy

      com.microsoft.dotnet.dev.2.1.302.component.osx.x64.plist

      Copy

      com.microsoft.dotnet.hostfxr.2.1.2.component.osx.x64.bom

      Copy

      com.microsoft.dotnet.sharedframework.Microsoft.NETCore.App.2.1.2.component.osx.x64.bom

      Copy

      com.microsoft.dotnet.sharedhost.component.osx.x64.bom

      Copy

  3. Go to 
    /private/etc/paths.d/

    Copy

  4. Remove the following files:

    • dotnet

      Copy

    • dotnet-cli-tools

      Copy

    Remove don.net

  5. Finally, go to 
    /usr/local/share

    Copy

    and search for dotnet there. Trash the folder you’ll find: 
    /usr/local/share/dotnet

    Copy

Congratulations! At this point, you have removed all Visual Studio leftovers from your Mac.

Remove Visual Studio for Mac with App Cleaner & Uninstaller

The easiest and safest way to completely get rid of Visual Studio for Mac is by using App Cleaner & Uninstaller from Nektony. This tool automatically detects and deletes all related files, including those hidden deep in system folders that are easy to miss during manual cleanup.

If Visual Studio is still in your Applications folder:

  1. Download and launch App Cleaner & Uninstaller
    Download
    for macOS 10.13 and above
    App Cleaner & Uninstaller
  2. In the left-hand panel, scroll through your apps and locate Visual Studio.
    If you’d like to see exactly which files will be removed, switch on Expert Mode at the top of the window.
  3. remove VS

  4. Click Remove (or Uninstall if not in Expert Mode).
  5. Confirm deletion.

This will erase the main app, support files, settings, logs, and more in one go.

If you have already deleted Visual Studio manually:

Even if you’ve moved Visual Studio to Trash, App Cleaner & Uninstaller can still locate and remove its leftovers remaining on your Mac. To clean them up:

  1. Open App Cleaner & Uninstaller.
  2. Navigate to the Remaining Files section.
  3. Look for Visual Studio in the list of leftovers.
  4. Select them and click Remove.
VS remaining files

This ensures your system is free from orphaned files, and no traces of Visual Studio are left behind.

Final Thoughts

Removing Visual Studio for Mac isn’t particularly complex, but it can get tricky once you factor in SDKs, extensions, and programming languages that came along for the ride. Tools like Mono, Xamarin, or even Python may have been installed through Visual Studio, but could also be used by other development environments.

So, before you start trashing folders, take a moment to double-check whether something is shared across your workflow. A cautious approach here goes a long way.

If you want a safer and faster route, App Cleaner & Uninstaller by Nektony offers a smart balance.

It scans your system for all associated files and lets you preview everything before deletion, so you can untick anything you want to keep. Whether you’re switching IDEs or simply freeing up space, it’s a solid companion for a clean uninstall.

Frequently asked questions

What are Visual Studio alternatives?

If you're on a Mac, the most natural successor to the app is Visual Studio Code. It's lightweight, highly customizable, and actively maintained by Microsoft. While it lacks built-in UI designers, it supports a vast range of programming languages and frameworks through extensions, which make it a solid choice for web, Python, .NET Core, and cross-platform development.

Other Mac-friendly alternatives include Rider from JetBrains (a full-featured C# IDE), Xcode for native macOS/iOS development, and Sublime Text or Atom for quick editing and scripting.

Where are Visual Studio files located?

On macOS, Visual Studio and its components store files across multiple locations.

The main app resides in the
/Applications folder

Copy

.
Support files, caches, logs, SDKs, and preferences are spread across
~/Library

Copy

,
/Library/

Copy

,
/usr/local/share/dotnet

Copy

and
/private/var/db/receipts

Copy

.

You can find the full list of these paths in the Manual Removal section above.

How to uninstall Visual Studio using a script?

If you prefer to use a script to uninstall Visual Studio for Mac, head to the Official Script section of this guide. There, you’ll find step-by-step instructions on how to download Microsoft’s official uninstaller script, make it executable, and run it safely via Terminal.

The main script removes the app along with related SDKs like Mono, Xamarin, and Android.

Scroll to Top