Skip to content

Commit

Permalink
Add script for uninstalling mono to mac install page
Browse files Browse the repository at this point in the history
  • Loading branch information
akoeplinger committed Jan 26, 2023
1 parent 1253ee2 commit 4907974
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
8 changes: 1 addition & 7 deletions docs/about-mono/supported-platforms/macos.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
10 changes: 10 additions & 0 deletions docs/getting-started/install/mac/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

0 comments on commit 4907974

Please sign in to comment.