Skip to content

Instantly share code, notes, and snippets.

@chrisbolin
Last active May 13, 2026 19:28
Show Gist options
  • Select an option

  • Save chrisbolin/d425be918ca369bb24e58828d5c4dbbd to your computer and use it in GitHub Desktop.

Select an option

Save chrisbolin/d425be918ca369bb24e58828d5c4dbbd to your computer and use it in GitHub Desktop.
Fresh macOS
echo "-- install xcode tools. you need to accept the GUI";
xcode-select --install;
echo "-- install these apps. I'll open the webpages for you";
open 'https://duckduckgo.com/mac';
open 'https://rectangleapp.com/';
open 'https://claude.ai/downloads';
open 'https://slack.com/downloads';
echo "-- clean up macOS: clean dock, no widgets, mute bell sound, screenshots to Downloads";
defaults write com.apple.dock persistent-apps -array && \
defaults write com.apple.dock persistent-others -array && \
defaults write com.apple.dock autohide -bool true && \
defaults write com.apple.dock magnification -bool true && \
defaults write com.apple.dock orientation -string left && \
defaults write com.apple.dock largesize -float 90 && \
defaults write com.apple.dock tilesize -float 50 && \
defaults write com.apple.WindowManager StandardHideWidgets -int 1;
defaults write NSGlobalDomain com.apple.sound.beep.volume -float 0 && \
defaults write NSGlobalDomain com.apple.sound.uiaudio.enabled -int 0;
mkdir -p ~/Downloads/Screenshots
defaults write com.apple.screencapture location ~/Downloads/Screenshots
echo "-- install dev tools";
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"; # brew
echo "PROMPT='%1~ $ '" >> ~/.zshrc; # terminal prompt
curl -fsSL https://claude.ai/install.sh | bash; # claude code
echo "-- restarting system processes";
killall WindowManager;
killall Dock;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment