Files
Main/2 Personal/Home Lab/MAC/Software Management on MacOS.md
2024-12-02 15:11:30 +01:00

1.1 KiB

aliases
aliases
brew
homebrew

Software can come from several different sources:

  1. App Store
  2. Just downloaded from the Web
  3. Homebrew
  4. built locally

Whenever possible I use brew to manage software and its dependencies on my mac.

Automation

The update

Software Sources

  • alle programme von mas-cli zu homebrew wechseln. #todo/p
  • script das wöchentlich updates zieht via homebrew #todo/p

Homebrew

Cheatsheat

  1. brew update && brew upgrade `brew outdated`
  2. brew upgrade && brew upgrade --cask Upgrades all packages that have been installed through brew.

Autoupdate

My mac uses brew to autoupdate every 24 hours. I used the the autoupdate package and the following command for this: brew autoupdate start 86400 --upgrade --cleanup --immediate --sudo

App Store

In order to automate the app store interactions there is a command line interface (CLI) called mas-cli. It allows us to manage the dependencies in an automated manner.

  • To update all apps run: mas upgrade
  • To list all outdated apps run: mas outdated