This repository contains cask for use with Homebrew: https://brew.sh
Installation can be accomplished with either of the following two methods -
brew install --cask pear-devs/pear/pear-desktop
OR
brew tap pear-devs/pear
brew install --cask pear-desktop
Additionally, use --no-quarantine with brew install on arm64 machines, which otherwise ends up in Signature verification failed error.
To upgrade manually, run brew upgrade --cask pear-desktop.
To uninstall, run brew uninstall --cask pear-desktop. Additionally you can use --zap to remove app-data and if you want to remove the tap after uninstall, run brew untap pear-devs/pear.
The local tap is in $(brew --prefix)/Library/Taps/pear-devs/homebrew-pear (you can also run brew edit pear-desktop).