Skip to content

Instantly share code, notes, and snippets.

@bplaat
Last active October 21, 2025 14:09
Show Gist options
  • Save bplaat/2152d31d40955bcbb699fae467e76c8a to your computer and use it in GitHub Desktop.
Save bplaat/2152d31d40955bcbb699fae467e76c8a to your computer and use it in GitHub Desktop.
macOS Setup

macOS Setup

  • Setup macOS
  • Setup displays, user avatar, appearance color and wallpaper
  • Keyboard switch ctrl <-> command keys and key repeat time
  • Install homebrew
    /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
  • Install essential casks
    brew install --cask android-file-transfer discord zen ghostty ungoogled-chromium grandperspective iina mullvadvpn pinta qbittorrent rectangle mos localsend visual-studio-code android-studio machoview asset-catalog-tinkerer image2icon
  • Setup rectangle, mos and localsend
  • Install oh my zsh
    sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
  • Update .zshrc
    ZSH_THEME="af-magic"
    # ...
    alias ll="ls -alh"
    export JAVA_HOME=$(/usr/libexec/java_home -v 21)
    export ANDROID_HOME="$HOME/Library/Android/sdk"
    export TERM=xterm-256color
    export HOMEBREW_NO_ENV_HINTS=1
    
  • Copy .gitconfig https://gist.github.com/bplaat/4a09959df746208466f5e83d924c3361
  • Update hostname (https://apple.stackexchange.com/questions/287760/set-the-hostname-computer-name-for-macos)
  • Setup dock and finder
    defaults write com.apple.dock autohide-delay -float 0
    defaults write com.apple.dock autohide-time-modifier -float 0
    killall Dock
  • Setup Zen Browser
  • Sutup Mullvad VPN
  • Setup Visual Studio Code and GitHub keys
  • Install stuff from App Store: XCode, Apple Developers, Gapplin
  • Install more stuff
    brew install btop htop nasm node fastfetch node openjdk@21 yt-dlp ffmpeg jadx llvm clang-format
    sudo ln -sfn /opt/homebrew/opt/openjdk@21/libexec/openjdk.jdk /Library/Java/JavaVirtualMachines/openjdk-21.jdk
    brew link --overwrite --force llvm
    brew tap fwartner/tap
    brew install fwartner/tap/mac-cleanup
    softwareupdate --install-rosetta --agree-to-license
  • Install games
    brew install --cask steam dolphin melonds openttd openra openrct2 teeworlds xonotic
  • Install VMware Fusion and setup Windows 11 ARM
    brew install --cask vmware-fusion
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment