Skip to content

Instantly share code, notes, and snippets.

@TKLCZ
TKLCZ / brewsync
Last active May 30, 2023 19:16 — forked from jamiew/brew-sync.sh
Upgrade and sync your Homebrew installations between Macs (Intel and Silicon M1/M2) via iCloud (including casks). You only need to chmod +x and run.
#!/bin/bash
# Sync Homebrew installations between Macs via iCloud
# Working on Intel and Silicon Macs
# Target folder on iCloud
TARGET="Homebrew"
# Homebrew binary path by platform
if [[ $(uname -m) == 'arm64' ]]; then