An open API service indexing awesome lists of open source software.

https://github.com/andmpel/macup

A macOS update utility written in Go
https://github.com/andmpel/macup

appstore cargo go golang homebrew mac macos npm osx patch patcher rust script update update-script updater updates utility yarn

Last synced: 15 days ago
JSON representation

A macOS update utility written in Go

Awesome Lists containing this project

README

          

# All-In-One macOS Update Script ๐ŸŽ๐Ÿ–ฅ๏ธ

[![Dependabot Updates](https://github.com/andmpel/MacOS-All-In-One-Update-Script/actions/workflows/dependabot/dependabot-updates/badge.svg)](https://github.com/andmpel/MacOS-All-In-One-Update-Script/actions/workflows/dependabot/dependabot-updates)
[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/andmpel/MacOS-All-In-One-Update-Script/master.svg)](https://results.pre-commit.ci/latest/github/andmpel/MacOS-All-In-One-Update-Script/master)
[![Test](https://github.com/andmpel/MacOS-All-In-One-Update-Script/actions/workflows/test.yaml/badge.svg)](https://github.com/andmpel/MacOS-All-In-One-Update-Script/actions/workflows/test.yaml)

> Inspired by the article
[Keeping MacOS Clean](https://waxzce.medium.com/keeping-macos-clean-this-is-my-osx-brew-update-cli-command-6c8f12dc1731).

๐Ÿ”” This script has recently been ported from Zsh/Bash to Go. If you prefer the traditional zsh script, [here is that repo](https://github.com/andmpel/macos-all-in-one-update-script).

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`](https://github.com/mas-cli/mas) to manage App Store applications.

## Getting Started

1. Head to releases and download `macup` or `macup_` for your mac
2. `cd `
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! ๐ŸŽ‰