Skip to content

jbourdin/InstallMyMac

Repository files navigation

InstallMyMac

Bootstrap a fresh macOS machine with a single command. Installs Homebrew, dev tools, apps, and Oh My Zsh.

Quick start

git clone <repo-url> && cd InstallMyMac
./install.sh

This installs the core set of packages defined in Brewfile (CLI tools, casks, Mac App Store apps) and sets up Oh My Zsh.

Optional categories

Additional packages are split into category Brewfiles that can be installed on demand:

Flag Brewfile Contents
--games Brewfile.games Discord, Steam, Epic Games, OpenEmu, ...
--entertainment Brewfile.entertainment HandBrake, Calibre, DaVinci Resolve, ...
--photography Brewfile.photography Affinity Photo, Affinity Publisher
# Install specific categories
./install.sh --games --photography

# Install everything
./install.sh --all

Uninstalling optional categories

uninstall.sh parses category Brewfiles and removes each package:

  • brew formulas and cask apps are removed via brew uninstall
  • Mac App Store apps are opened in AppCleaner for a clean removal (the script waits for confirmation before continuing)
# Uninstall specific categories
./uninstall.sh --entertainment

# Uninstall all optional categories
./uninstall.sh --all

Maintaining the Brewfile

# Check what would be installed
brew bundle check

# Update the Brewfile from currently installed packages
brew bundle dump --force

Post-install: unquarantine unsigned casks

Some casks (e.g. qlmarkdown, glance-chamburr) are not code-signed or notarized. macOS Gatekeeper will block them until the quarantine flag is removed manually:

xattr -rd com.apple.quarantine /Applications/QLMarkdown.app
xattr -rd com.apple.quarantine /Applications/Glance.app

Then launch the app once and enable the extension under System Settings → General → Login Items & Extensions → Quick Look.

Note: Homebrew will disable unsigned/unnotarized casks from its official repository on 2026-09-01. Apps already installed will keep working; updates will need to come from third-party taps or signed releases.

Prerequisites

  • macOS
  • An Apple ID signed into the Mac App Store (for mas entries)
  • AppCleaner is installed automatically as part of the base Brewfile

About

Basic script to install a new Mac

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors