Setup scripts
Install apps from the current catalog. Choose your operating system and review the commands before running them. Settings are available in a separate, optional version.
For your selected items only, export from My setup. Running a script does not mark checklist items done.
macOS
Run in Terminal. Homebrew is required for brew commands; install it from brew.sh if the script reports it missing.
macOS — apps only
#!/bin/bash
# First Install — macOS setup
# Review these commands before running them in Terminal.
set -e
if [ "$(uname -s)" != "Darwin" ]; then echo "This script requires macOS." >&2; exit 1; fi
# Install Homebrew if needed
if ! command -v brew >/dev/null 2>&1; then
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
fi
if ! command -v brew >/dev/null 2>&1; then
if [ -x /opt/homebrew/bin/brew ]; then eval "$(/opt/homebrew/bin/brew shellenv)";
elif [ -x /usr/local/bin/brew ]; then eval "$(/usr/local/bin/brew shellenv)"; fi
fi
command -v brew >/dev/null 2>&1 || { echo "Install Homebrew from https://brew.sh, then run this script again." >&2; exit 1; }
# Raycast
brew install --cask raycast
# 1Password
brew install --cask 1password
# BetterDisplay
brew install --cask betterdisplay
# CleanShot X
brew install --cask cleanshot
echo "Setup commands completed."
macOS — apps and optional settings
This version installs the apps and applies settings that may restart apps or require administrator access. Use one version only.
#!/bin/bash
# First Install — macOS setup
# Review these commands before running them in Terminal.
set -e
if [ "$(uname -s)" != "Darwin" ]; then echo "This script requires macOS." >&2; exit 1; fi
# Install Homebrew if needed
if ! command -v brew >/dev/null 2>&1; then
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
fi
if ! command -v brew >/dev/null 2>&1; then
if [ -x /opt/homebrew/bin/brew ]; then eval "$(/opt/homebrew/bin/brew shellenv)";
elif [ -x /usr/local/bin/brew ]; then eval "$(/usr/local/bin/brew shellenv)"; fi
fi
command -v brew >/dev/null 2>&1 || { echo "Install Homebrew from https://brew.sh, then run this script again." >&2; exit 1; }
# Raycast
brew install --cask raycast
# 1Password
brew install --cask 1password
# BetterDisplay
brew install --cask betterdisplay
# CleanShot X
brew install --cask cleanshot
# Optional settings — may restart apps or require administrator access
# 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 "Setup commands completed."
Windows
Run in Windows PowerShell 5.1 or later with App Installer (winget) available.
Windows — apps only
# First Install — Windows setup
# Run in Windows PowerShell 5.1 or later. Review commands and required permissions first.
$ErrorActionPreference = 'Stop'
if ($env:OS -ne 'Windows_NT') { throw 'This script requires Windows.' }
if (-not (Get-Command winget -ErrorAction SilentlyContinue)) { throw 'Install App Installer (winget), then run this script again.' }
# Raycast
winget install Raycast.Raycast
if ($LASTEXITCODE -ne 0) { throw 'App installation failed. Check the output above.' }
# Windows Terminal
winget install Microsoft.WindowsTerminal
if ($LASTEXITCODE -ne 0) { throw 'App installation failed. Check the output above.' }
# 7-Zip
winget install 7zip.7zip
if ($LASTEXITCODE -ne 0) { throw 'App installation failed. Check the output above.' }
# Everything
winget install voidtools.Everything
if ($LASTEXITCODE -ne 0) { throw 'App installation failed. Check the output above.' }
# ShareX
winget install ShareX.ShareX
if ($LASTEXITCODE -ne 0) { throw 'App installation failed. Check the output above.' }
Write-Output 'Setup commands completed.'
Windows — apps and optional settings
This version installs the apps and applies settings that may restart apps or require administrator access. Use one version only.
# First Install — Windows setup
# Run in Windows PowerShell 5.1 or later. Review commands and required permissions first.
$ErrorActionPreference = 'Stop'
if ($env:OS -ne 'Windows_NT') { throw 'This script requires Windows.' }
if (-not (Get-Command winget -ErrorAction SilentlyContinue)) { throw 'Install App Installer (winget), then run this script again.' }
# Raycast
winget install Raycast.Raycast
if ($LASTEXITCODE -ne 0) { throw 'App installation failed. Check the output above.' }
# Windows Terminal
winget install Microsoft.WindowsTerminal
if ($LASTEXITCODE -ne 0) { throw 'App installation failed. Check the output above.' }
# 7-Zip
winget install 7zip.7zip
if ($LASTEXITCODE -ne 0) { throw 'App installation failed. Check the output above.' }
# Everything
winget install voidtools.Everything
if ($LASTEXITCODE -ne 0) { throw 'App installation failed. Check the output above.' }
# ShareX
winget install ShareX.ShareX
if ($LASTEXITCODE -ne 0) { throw 'App installation failed. Check the output above.' }
# Optional settings — may restart apps or require administrator access
# Enable Dark Mode
Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize -Name AppsUseLightTheme -Value 0; Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize -Name SystemUsesLightTheme -Value 0
# Show File Extensions
Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name HideFileExt -Value 0; Stop-Process -Name explorer -Force; Start-Process explorer
# Show Hidden Files
Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced -Name Hidden -Value 1; Stop-Process -Name explorer -Force; Start-Process explorer
Write-Output 'Setup commands completed.'