This repo is used to manage the packages installed on my Macs.
-
python3 -m pip install --upgrade pip python3 -m pip install pre-commit
-
go install github.com/magefile/mage@latest
-
Install homebrew:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
-
Install homebrew-file:
brew tap rcmdnk/file brew install brew-file
-
Install and run pre-commit hooks:
mage runprecommit
-
Setup the Brewfile found in this repo on the local system:
mage setup
-
Ensure all packages managed by
brew
are installed:mage run
-
Update everything:
mage update
If you're having trouble, please refer to the debugging doc.
act -P macos-latest=-self-hosted
- https://thoughtbot.com/blog/brewfile-a-gemfile-but-for-homebrew
- https://coderwall.com/p/afmnbq/homebrew-s-new-feature-brewfiles
- https://medium.com/@satorusasozaki/automate-mac-os-x-configuration-by-using-brewfile-58a78ce5cc53
- https://github.com/timbru31/homebrew-brewfile/blob/master/Brewfile
- https://homebrew-file.readthedocs.io/en/latest/installation.html
- https://gist.github.com/ChristopherA/a579274536aab36ea9966f301ff14f3f