Setup Script

Copy and run to automate your Mac setup. Or download the full script at the bottom.

Install Apps (Homebrew)

brew install --cask raycast
brew install --cask 1password
brew install --cask arc
brew install --cask betterdisplay
brew install --cask cleanshot

Apply Settings

# Auto-hide Dock
defaults write com.apple.dock autohide -bool true && killall Dock

# Show File Extensions in Finder
defaults write NSGlobalDomain AppleShowAllExtensions -bool true && killall Finder

# Tap to Click on Trackpad
defaults write com.apple.AppleMultitouchTrackpad Clicking -bool true && defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad Clicking -bool true

# Show Hidden Files
defaults write com.apple.finder AppleShowAllFiles -bool true && killall Finder

# Speed Up Key Repeat Rate
defaults write NSGlobalDomain KeyRepeat -int 2 && defaults write NSGlobalDomain InitialKeyRepeat -int 15

Full Script

Download
#!/bin/bash
# First Install — Mac Setup Script
# Generated from https://fc.dhrv.cloud/

set -e

echo "==> Checking for Homebrew..."
if ! command -v brew &>/dev/null; then
  echo "==> Installing Homebrew..."
  /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
fi

echo "==> Installing apps via Homebrew..."
brew install --cask raycast
brew install --cask 1password
brew install --cask arc
brew install --cask betterdisplay
brew install --cask cleanshot

echo "==> Applying macOS settings..."
# Auto-hide Dock
defaults write com.apple.dock autohide -bool true && killall Dock

# Show File Extensions in Finder
defaults write NSGlobalDomain AppleShowAllExtensions -bool true && killall Finder

# Tap to Click on Trackpad
defaults write com.apple.AppleMultitouchTrackpad Clicking -bool true && defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad Clicking -bool true

# Show Hidden Files
defaults write com.apple.finder AppleShowAllFiles -bool true && killall Finder

# Speed Up Key Repeat Rate
defaults write NSGlobalDomain KeyRepeat -int 2 && defaults write NSGlobalDomain InitialKeyRepeat -int 15

echo "==> Restarting affected services..."
killall Dock 2>/dev/null || true
killall Finder 2>/dev/null || true
killall SystemUIServer 2>/dev/null || true

echo "==> Verifying installations..."
brew list --cask raycast &>/dev/null && echo "  ✓ Raycast" || echo "  ✗ Raycast (not found)"
brew list --cask 1password &>/dev/null && echo "  ✓ 1Password" || echo "  ✗ 1Password (not found)"
brew list --cask arc &>/dev/null && echo "  ✓ Arc Browser" || echo "  ✗ Arc Browser (not found)"
brew list --cask betterdisplay &>/dev/null && echo "  ✓ BetterDisplay" || echo "  ✗ BetterDisplay (not found)"
brew list --cask cleanshot &>/dev/null && echo "  ✓ CleanShot X" || echo "  ✗ CleanShot X (not found)"

echo ""
echo "==> Setup complete!"