Skip to content

macOS setup

not edited this page Jan 27, 2023 · 44 revisions

Last updated for macOS Ventura

The reset

Whether you recently received a new Mac or are looking to rejuvenate the life of an old device, resetting your Mac will ensure a fresh start. With new Macs, this is important to remove a few preloaded apps such as Numbers and Pages, as well as cleaning up any unnecessary cache or other oddities that may slow your system down.

Ventura on Apple Silicon

In System Settings, navigate to General and select "Transfer or Reset".

The setup

I use a little shell script to do some of the heavy lifting for me whenever I reset (which is probably too often). The point of this guide, however, is to walk through each step to achieve everything manually. Find bliss in the process.

Install Command Line Tools

xcode-select --install

Alternatively, download the tools here from Apple.

System settings

  • General:
    • Language & Region:
      • Add Italiano as secondary language
      • Set Temperature to Celsius
      • Set Measurement System to Metric
    • Date & Time → Enable "24-Hour Time"
    • Sharing → Set Computer Name to something fun
  • Appearance:
    • Set Appearance to Auto
    • Set Accent color to Graphite
  • Privacy & Security:
    • Full Disk Access → Add Terminal
  • Desktop & Dock:
    • Set Position on screen to Left
    • Enable "Automatically hide and show the Dock"
    • Disable "Show recent applications in Dock"
    • Set Automatically hide and show the menu bar to Always
    • Disable "Automatically rearrange Spaces based on most recent use"
  • Displays:
    • Night Shift → Set Schedule to Sunset to Sunrise
  • Touch ID & Password:
    • Enable unlock with Apple Watch
  • Keyboard:
    • Disable "Adjust keyboard brightness in low light"
    • Set Keyboard Brightness to none
    • Keyboard Shortcuts → Modifier Keys → Map Caps Lock Key to Escape
    • Edit Input Sources:
      • Disable "Correct spelling automatically"
      • Disable "Capitalize words automatically"
      • Disable "Add period with double-space"
      • Disable "Use smart quotes and dashes"
      • Add Italian input source
  • Trackpad:
    • Set Tracking Speed to Fast
    • Enable "Tap to click"

Hidden options

Run set -k in your current terminal session for easier copy/pasting in Zsh

Enable key repeat for all apps:

defaults write NSGlobalDomain ApplePressAndHoldEnabled -bool false

Show only active items in the Dock:

# Remove all docked apps
defaults write com.apple.dock persistent-apps -array

# Show only active apps
defaults write com.apple.dock static-only -bool true

Set Dock icon size:

defaults write com.apple.dock tilesize -int 48

Modify screencapture:

# Set default save location
defaults write com.apple.screencapture location ~/Downloads

# Disable shadow
defaults write com.apple.screencapture disable-shadow -bool true

Copy SF Mono to Font Book:

cp -r /System/Applications/Utilities/Terminal.app/Contents/Resources/Fonts/. /Library/Fonts/

Application settings

  • Finder:
    • Advanced:
      • Check "Remove items from the Trash after 30 days"
      • Check all under "Keep folders on top"
  • Safari:
    • (Menubar) View → Customise Toolbar → Drag away all items except search
    • Search → Set Search engine to DuckDuckGo
    • Advanced:
      • Check "Press Tab to highlight each item on a webpage"
      • Check "Show Develop menu in menu bar"
  • Messages:
    • iMessage → Check "Enable Messages in iCloud"

Manage software

Using Homebrew, we can keep a list of all our packages in a Brewfile, e.g. personal example.

# Upgrade sources
brew upgrade

# Install packages listed in brewfile
# Change the location of the brewfile if necessary
brew bundle --file="$HOME/.config/dots/brewfile"

Our personal brewfile installed Node.js which includes npm to install more packages not available on Homebrew.

# Safer `rm`
npm install --global trash-cli

Next steps

If each day is spent preparing, no day is left for doing

Not everyone enjoys the process of setting everything from scratch. There are plenty of alternatives, such as Time Machine backups on macOS or writing a script that automates the process away. No matter the decision, preferring built-in apps and default settings when possible may prove beneficial.

Related

Clone this wiki locally