Brewup script is a Bash script that uses Homebrew - The Missing Package Manager for macOS as it's base. Brewup uses GitHub as a "backup" of a config file which contains all installed Taps, Formulas, Casks and App Store Apps at your macOS. It also allows the use of Github main function of retaining changes so you can always look up for the package that were installed sometime ago and you just forgot what is was exactly.
It just runs few Brew functionality automatically:
- brew doctor
- brew missing
- brew upgrade
- brew cask upgrade
- brew cleanup
- App Store Updates
- Creating Updated Brewfile
- Pushing changes to Git
- Homebrew The missing package manager for macOS
- git (with active account)
- Mas, terminal-notifier, coreutils (will be installed if missing at the first script execution)
Fork the repository don't clone it
Copy the url of your new created Fork
This will clone the repository and create a symlink for use in the terminal
git clone <paste the copied url here>
ln -s ${PWD}/brewup/brewup.sh /usr/local/bin/brewup
just run from terminal:
brewup
Install all apps from BrewFile:
cd to local location you cloned your repository and run:
brew bundle install --file=<BrewFile Name>
Copyright (c) Stas Kosatuhin @2019
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.