2020-09-26 07:20:35 -04:00
|
|
|
<!--
|
|
|
|
Title: How to clean uninstall apps on macOS (an open source alternative to AppCleaner by FreeMacSoft)
|
|
|
|
Description: Learn how to clean uninstall apps on macOS (an open source alternative to AppCleaner by FreeMacSoft).
|
|
|
|
Author: Sun Knudsen <https://github.com/sunknudsen>
|
|
|
|
Contributors: Sun Knudsen <https://github.com/sunknudsen>
|
|
|
|
Reviewers:
|
|
|
|
Publication date: 2020-09-21T15:50:15.415Z
|
|
|
|
-->
|
|
|
|
|
|
|
|
# How to clean uninstall apps on macOS (an open source alternative to AppCleaner by FreeMacSoft)
|
|
|
|
|
|
|
|
## Guide
|
|
|
|
|
|
|
|
### Step 1: create `/usr/local/bin` folder
|
|
|
|
|
|
|
|
```shell
|
|
|
|
sudo mkdir -p /usr/local/bin
|
|
|
|
sudo chown $(whoami):admin /usr/local/bin
|
|
|
|
```
|
|
|
|
|
|
|
|
### Step 2: download [app-cleaner.sh](app-cleaner.sh) ([PGP signature](./app-cleaner.sh.sig), [PGP public key](https://sunknudsen.com/sunknudsen.asc))
|
|
|
|
|
|
|
|
```shell
|
2020-09-26 07:38:06 -04:00
|
|
|
curl -o /usr/local/bin/app-cleaner.sh https://sunknudsen.com/static/media/privacy-guides/how-to-clean-uninstall-apps-on-macos-an-open-source-alternative-to-appcleaner-by-freemacsoft/app-cleaner.sh
|
2020-09-26 07:20:35 -04:00
|
|
|
chmod +x /usr/local/bin/app-cleaner.sh
|
|
|
|
```
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
```console
|
|
|
|
$ app-cleaner.sh /Applications/AppCleaner.app
|
|
|
|
Checking for running processes...
|
|
|
|
Finding application data...
|
|
|
|
/Applications/AppCleaner.app
|
|
|
|
/Users/johndoe/Library/Preferences/net.freemacsoft.AppCleaner.plist
|
|
|
|
/Users/johndoe/Library/Saved Application State/net.freemacsoft.AppCleaner.savedState
|
|
|
|
Move application data to trash (y or n)? y
|
|
|
|
Moving application data to trash...
|
|
|
|
Done
|
|
|
|
```
|