Skip to content

andmpel/macup

Repository files navigation

All-In-One macOS Update Script 🍎🖥️

Dependabot Updates pre-commit.ci status Test

Inspired by the article Keeping MacOS Clean.

🔔 This script has recently been ported from Zsh/Bash to Go. If you prefer the traditional zsh script, here is that repo.

This Go script simplifies the process of updating all your macOS software directly from the Terminal. While it covers many updates, you may want to install mas to manage App Store applications.

Getting Started

  1. Head to releases and download macup or macup_<cpu-arch> for your mac
  2. cd <path/to/macup>
  3. chmod +x ./macup
  4. Run the ./macup from terminal
  5. Go to System Settings Application and search "gatekeeper" and select the result
  6. Click "Allow Anyway"
  7. Run the ./macup from terminal, then select your updates
  8. To skip the selection menu, run macup --yes to use your previous selections

Supported Updates

This script currently updates the following:

  • 🍺 Homebrew formulas and casks (brew)
  • 🧑‍💻 VSCode extensions (code)
  • 📦 Node Package Manager packages (npm)
  • 💎 RubyGems (gem)
  • 🧶 Yarn packages (yarn)
  • 🚚 Rust packages (cargo)
  • 🛍 App Store applications (mas)
  • 🖥 MacOS system updates and patches (softwareupdate)

Feel free to contribute or customize the script to suit your needs! Happy updating! 🎉