Skip to content

Instantly share code, notes, and snippets.

@bramp
Last active October 17, 2026 07:33
Show Gist options
  • Select an option

  • Save bramp/f16444cd6d7595235ddc8216d949bfe2 to your computer and use it in GitHub Desktop.

Select an option

Save bramp/f16444cd6d7595235ddc8216d949bfe2 to your computer and use it in GitHub Desktop.
My quick mac setup
#!/usr/bin/env bash
set -euo pipefail
# My Mac Setup
# https://github.com/bramp
# Notes from https://www.robinwieruch.de/mac-setup-web-development/
# Enable Rosetta 2 for Apple Silicon
if [[ "$(uname -m)" == "arm64" ]]; then
sudo softwareupdate --install-rosetta --agree-to-license
fi
# Install Homebrew
if ! command -v brew >/dev/null 2>&1; then
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
fi
# Ensure brew is available in current session and persistent profile
eval "$(/opt/homebrew/bin/brew shellenv)"
if ! grep -q 'brew shellenv' "$HOME/.zprofile" 2>/dev/null; then
echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> "$HOME/.zprofile"
fi
# Third-party Taps
brew tap domt4/autoupdate && brew trust domt4/autoupdate
brew tap lexiforest/tap && brew trust lexiforest/tap
# Install brew packages
brew install \
go \
rustup \
openjdk \
python@3 \
pyenv \
nvm \
wget \
jq \
ripgrep \
gh \
terminal-notifier \
imagemagick \
htop \
qpdf \
lexiforest/tap/curl-impersonate
# Initialize Rust toolchain
rustup-init -y
# Install brew casks
brew install --cask \
google-chrome \
iterm2 \
visual-studio-code \
sublime-text \
antigravity \
autodesk-fusion \
prusaslicer \
inkscape \
gimp \
adobe-acrobat-reader \
rive
# Android
brew install --cask \
temurin `# Latest JDK` \
android-studio \
android-file-transfer
# The following seem best installed from within Android Studio (via the "sdk manager")
# android-commandlinetools \
# android-platform-tools
# iOS Development
echo "Go to https://developer.apple.com/xcode/ and install Xcode"
read -s -k '?Press any key to continue.'
brew install cocoapods
# Automatic updates with cleanup
brew autoupdate start 1d --upgrade --cleanup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment