| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
CLI tool for macOS to uninstall an app from your system
This script is an open-sourced alternative for App Cleaner on Mac OS
Install via homebrew:
brew install grantbirki/tap/uninstallTap can be found in my homebrew-tap repo:
To pick up a new release after it lands in the tap:
brew update
brew upgrade uninstallIf it doesn't upgrade, check that the tap formula version matches the latest release:
brew info uninstallClone the repo into your computer. Put it somewhere static.
Create an alias in your shell by adding this line
alias uninstall="~/<your_cloned_path>/uninstall"Usage: In your terminal:
uninstall raycastuninstall
uninstall --list
uninstall raycast
uninstall "Visual Studio Code"
uninstall /Applications/app_name.appWith no arguments, uninstall prints the same installed-application list as uninstall --list. The list contains one absolute path per line and a total so a path can be copied directly into an uninstall command.
Application discovery searches direct children and one nested directory level under /Applications and ~/Applications. It includes only .app directories or symlinks containing Contents/Info.plist. It does not search protected applications under /System/Applications.
A target containing / is treated as an explicit bundle path and must exist. A target without / is matched case-insensitively against discovered bundle names, with an optional trailing .app ignored. An exact name wins; otherwise one unique literal substring match is accepted. Multiple matches are listed without making changes, and the command must be rerun with a full path.
After a target resolves uniquely, the normal preflight runs. By default, the command asks once before making changes.
uninstall --dry-run raycast
uninstall --verbose raycast
uninstall --yes /Applications/Raycast.appFlags:
Behavior:
Triggering a new release is just updating VERSION on main (or running the workflow manually) since the workflow keys off that file.
Inspired by t18n/uninstall-cli.
| Back | FazBrowse Home | New Git URL |