From 490797429d4b92584394292ff69fbdc0eb002948 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20K=C3=B6plinger?= Date: Thu, 26 Jan 2023 16:11:38 +0100 Subject: [PATCH] Add script for uninstalling mono to mac install page --- docs/about-mono/supported-platforms/macos.md | 8 +------- docs/getting-started/install/mac/index.md | 10 ++++++++++ 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/docs/about-mono/supported-platforms/macos.md b/docs/about-mono/supported-platforms/macos.md index c4704f28..bdbf717c 100644 --- a/docs/about-mono/supported-platforms/macos.md +++ b/docs/about-mono/supported-platforms/macos.md @@ -106,10 +106,4 @@ Third Party Libraries Uninstalling Mono on macOS --------------------------- -Run this script in a terminal: - -```bash -sudo rm -rf /Library/Frameworks/Mono.framework -sudo pkgutil --forget com.xamarin.mono-MDK.pkg -sudo rm /etc/paths.d/mono-commands -``` +See the script on the [Install Mono on macOS](/docs/getting-started/install/mac/#uninstalling-mono-on-macos) page. diff --git a/docs/getting-started/install/mac/index.md b/docs/getting-started/install/mac/index.md index 27403508..25048479 100644 --- a/docs/getting-started/install/mac/index.md +++ b/docs/getting-started/install/mac/index.md @@ -12,3 +12,13 @@ Installing Mono on macOS is very simple: [![mono-mac-install.png](/images/mono-mac-install.png)](/images/mono-mac-install.png) After the installation completed successfully, it's a good idea to run through the basic hello world examples on [this page](/docs/getting-started/mono-basics/) to verify Mono is working correctly. + +## Uninstalling Mono on macOS + +Run this script in a terminal: + +```bash +sudo rm -rf /Library/Frameworks/Mono.framework +sudo pkgutil --forget com.xamarin.mono-MDK.pkg +sudo rm /etc/paths.d/mono-commands +```