Ready to remove Visual Studio from Mac but worried about the files it leaves behind? MacKeeper’s Smart Uninstaller scans your drive, finds every scattered framework and cache, and clears them in one click—a clean, reliable way to completely uninstall Visual Studio on macOS without hunting through folders yourself.
Visual Studio for Mac is Microsoft’s full integrated development environment (IDE), built for developers who create apps for Apple platforms like macOS and iOS, as well as .NET applications. It bundles a code editor, debugger, compilers, and project templates into a single app. Alongside it sit associated components like Mono runtimes, Xamarin packages, and .NET SDKs.
Because the IDE installs so many pieces, it spreads files across your Macintosh—well beyond the one app icon you see in Finder. That’s why a clean uninstall of Visual Studio from Mac takes a little more than a quick drag to the Trash.
Why get rid of Visual Studio on Mac?
Maybe you’ve switched editors, or maybe your MacBook has started to feel sluggish. Below, we’ll walk through the common reasons people decide to remove this software:
Microsoft is officially retiring Visual Studio for Mac, so many developers are moving to modern alternatives like VS Code or Rider.
Outdated .NET SDKs, Mono frameworks, and Xamarin packages take up substantial storage, which is a common reason application storage is so high on Mac.
Software conflicts, heavy RAM and CPU consumption, or persistent launch errors can make the IDE frustrating to keep.
A development environment you no longer use adds clutter and interference with the other tools you rely on.
A note from our experts:
There’s always a HOW to your Mac-related problem. When we’re thinking about app deletion, the best HOW is using a dedicated tool like MacKeeper’s Smart Uninstaller. This way, you’ll execute the task with maximum precision, safety for your files, and ease. Try it now!
Go to MacKeeper > Smart Uninstaller > Start Scan
How to prepare your Mac before uninstalling Visual Studio?
A little prep keeps your code safe and your cleanup smooth. If you want to delete Visual Studio on Mac for good, let’s first protect your projects, sign out of connected accounts, and quit the app properly. Now, move with our best preparation practices one by one.
1. Save your project files
First, safeguard your work so nothing disappears with the app.
Open your project in Visual Studio and commit any recent changes.
Push your local repositories to GitHub, so your codebase lives safely in the cloud.
For anything you don’t track with Git, copy the project directories to an external drive or a folder you’ll keep.
Double-check that every file you need has been backed up before you move on.
2. Log out of your Microsoft account
Next, sign out of Microsoft before we remove anything. We do this to prevent sync errors and stop authentication tokens from lingering during cleanup.
Open Visual Studio and go to the account menu in the top corner.
Select your Microsoft account, then choose Sign Out.
Confirm that you’re signed out so nothing stays connected after removal.
3. Quit application completely
Now shut everything down—a running process can block files from being deleted.
Quit Visual Studio by pressing Cmd + Q, or choose Visual Studio > Quit Visual Studio.
Open Activity Monitor from Applications > Utilities.
Search for Visual Studio to locate any active build processes, debugger daemons, or helper services.
Select each related process, click the Stop button, and confirm.
How to completely remove Visual Studio from Mac
There’s more than one way to fully remove apps on Mac, and Visual Studio is no exception. To fully uninstall Visual Studio on Mac, you’ll want to clear the app itself plus its additional frameworks and caches. Below, we’ll start with manual Finder deletion, move through the official script and Terminal commands, and finish with automated cleanup. Pick the method that matches how hands-on you’d like to be.
1. Drag Visual Studio application to Bin
Let’s begin with the simplest method:
Open Finder and click Applications in the sidebar.
Locate Visual Studio in the list, along with related components like Xamarin Profiler.
Drag the app bundle to the Bin, or right-click and choose Move to Bin.
Enter your admin password if macOS asks for it.
Step 1. Go to Finder > Applications > Visual StudioStep 2. Control-click the item and select Move to Bin from the menu
2. Delete remaining files from the Library folder
Time to clear the hidden leftovers. Dragging the app to the Trash won’t delete leftover files from uninstalled program folders, so we’ll dig into the Library manually. The Library contains caches, preferences, and Xamarin frameworks that the app leaves in place. Here’s what to do:
In Finder, click Go > Go to Folder in the menu bar.
Type ~/Library and press Return to open your user library.
Check Application Support, Caches, Preferences, and Logs for Visual Studio and Xamarin items.
Move any associated files to the Trash.
Repeat the process with /Library to catch system-level frameworks.
Step 1. Open Finder > Go > Go to FolderStep 2. Enter the following paths one at a time to check both Library folders on your Mac: a. User Library: ~/Library b. System Library: /LibraryStep 3. Check all listed locations: Caches, Application Support, Preferences, and LogsStep 4. Select any Files and Folders related to the Visual StudioStep 5. Control-click the item and select Move to Bin from the menu
3. Run official Microsoft removal script
Prefer an automated sweep? Microsoft gives us an official script for exactly that:
Download Microsoft’s cleanup script, uninstall -vsmac.sh, from the official documentation.
Go to Applications > Utilities > Terminal.
Open Terminal and make the script executable using the sudo chmod +x command.
Type bash ~/Downloads/uninstall-vsmac.sh and press Return.
Step 1. Go to the official website and select the uninstall script Step 2. Download the script into the Downloads folderStep 3. Open Terminal and make the script executable using the sudo chmod +x commandStep 4. Type bash ~/Downloads/uninstall-vsmac.sh and press Return
4. Delete Visual Studio using Terminal
This method suits advanced users who are comfortable with commands. If you run Terminal often, we’ll clear the app files, caches, and configuration directories in one pass. Do the following:
Open Terminal and type a removal command, such as rm -rf “/Applications/Visual Studio.app”:
Add the associated paths—for example, rm -rf ~/Library/Caches/VisualStudio.
Press Return after each command to run it.
Double-check every path before you press Return, since this command permanently deletes files.
Step 1. Open Terminal from Finder > Applications > UtilitiesStep 2. Copy the following command Step 3. Paste the following command into Terminal and hit Return
5. Clear Mac’s Bin
One step left—empty the Bin to reclaim your space. Everything you moved still sits in Bin, so let’s remove files from Trash on Mac to free that storage for good. Just do this:
Right-click the Bin icon in your Dock.
Choose Empty Bin.
Click Empty Bin again to confirm.
Your disk space is now reclaimed permanently.
Step 1. Empty the BinStep 2. Confirm your action
6. Automatic cleanup with MacKeeper
Want to skip the manual hunt? Let MacKeeper’s Smart Uninstaller do it for you:
Open MacKeeper and select Smart Uninstaller in the sidebar.
Click Start Scan to scan the drive.
Find Visual Studio in the results, along with its scattered frameworks and leftover cache files.
Select the app, then click Remove Selected to clear everything in one click.
Step 1. Go to MacKeeper > Smart Uninstaller > Start ScanStep 2. Wait until the scan is finishedStep 3. Select the Application categoryStep 3. Remove Visual Studio
Conclusion
Dragging the Visual Studio icon to the Trash feels like enough, but it leaves gigabytes of hidden frameworks, Mono runtimes, and SDKs scattered across your Mac. Those leftovers keep eating storage long after the app looks gone—and they can cause interference if you ever reinstall Visual Studio later.
To completely uninstall Visual Studio on macOS, you can track down every file by hand or let a tool handle it. MacKeeper’s Smart Uninstaller scans your drive, finds each associated piece, and removes it all in one click—a simple, reliable way to reclaim your space and keep your Macintosh clean. Use MacKeeper’s Smart Uninstaller and give your Mac a fresh start.
We respect your privacy and
use cookies
for the best site experience.
Privacy Preferences Center
We use cookies along with other tools to give you the best possible experience while using the
MacKeeper website. Cookies are small text files that help the website load faster. The cookies we
use don’t contain any type of personal data meaning they never store information such as your
location, email address, or IP address.
Help us improve how you interact with our website by accepting the use of cookies. You can change
your privacy settings whenever you like.
Manage consent
All cookies
These cookies are strictly necessary for enabling basic website functionality (including page
navigation, form submission, language detection, post commenting), downloading and purchasing
software. The website might malfunction without these cookies.