vault backup: 2025-02-03 08:29:48

This commit is contained in:
2025-02-03 08:29:48 +01:00
parent 7909836706
commit ad227f2d69
2018 changed files with 27268 additions and 46 deletions

View File

@@ -0,0 +1,34 @@
---
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](https://github.com/DomT4/homebrew-autoupdate) 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](https://github.com/mas-cli/mas). 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`