What's Changed
v0.3.1 is intended to improve the integration with Homebrew and no new features are added. If you are using v0.3.0 already, you can skip this version.
- docs: update install script @charlie0129 in 0dc59eb
- chore: add various convenience options for brew formulae #9 @charlie0129 in 0d9b44c
- chore: hide install commands when building for homebrew #9 @charlie0129 in a7fedaf
How to Install
Option 1: Installation Script
bash <(curl -fsSL https://github.com/charlie0129/batt/raw/master/hack/install.sh)
Option 2: Homebrew
brew install batt
sudo brew services start batt
How to Upgrade
Please use the same method (Installation Script / Homebrew) as you installed to upgrade batt. Using both methods will cause conflicts.
Option 1: Installation Script
bash <(curl -fsSL https://github.com/charlie0129/batt/raw/master/hack/install.sh)
# Yes, the command is the same as installing.
Option 2: Homebrew
brew update
sudo brew services stop batt
brew upgrade batt
sudo brew services start batt
Compatibility
Upgrading to v0.3.1
should be fine for users using macOS Monterey or later. If you are on macOS Big Sur, you can stay at v0.1.0
or build it by yourself.