Skip to content

andmpel/MacOS-All-In-One-Update-Script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

All-In-One Mac Update Script 🍎🖥️

Dependabot Updates pre-commit.ci status Test

Inspired by the article Keeping MacOS Clean.

This Zsh 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

Install Script as Alias for Repeat Use

To Download & Execute, Run the following command in your terminal:

curl -fsSL https://raw.githubusercontent.com/andmpel/MacOS-All-In-One-Update-Script/HEAD/install.sh | zsh

Manually Downloading and Running Script

For easy access, save the update-all.sh script to your Mac user's home folder, make it executable, and then run it.

USER_SCRIPTS="${HOME}/"
curl -fsSLo "$USER_SCRIPTS/update" https://raw.githubusercontent.com/andmpel/MacOS-All-In-One-Update-Script/HEAD/update-all.sh
chmod +x "$USER_SCRIPTS/update"

Now you can run the script anytime by simply typing ./update from your home directory in your terminal.

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! 🎉

Releases

No releases published

Packages

No packages published

Contributors 7

Languages