Skip to content

macOS Command-Line Reference (Apple Silicon)

Start page for the macOS command-line cheat sheets. They cover modern macOS administration on Apple Silicon (arm64): Homebrew, updates and hardware, networking, launchd services, security, and system defaults.


Architecture & Environment Specifics

  • Apple Silicon Architecture: Modern macOS runs natively on Apple Silicon (arm64).
  • Homebrew Prefix: Native Apple Silicon packages install strictly to /opt/homebrew.
  • Signed System Volume (SSV): The root volume (/) is cryptographically sealed and mounted read-only. Dynamic user and system data lives on /System/Volumes/Data (firmlinked to /Users, /Library, and /Applications).
  • File System Behavior: APFS is Case-Insensitive but Case-Preserving by default (File.txt and file.txt resolve to the same file). External drives mount under /Volumes/, and GUI applications in /Applications/ are .app directory bundles with binaries located inside Contents/MacOS/.

Cheat Sheets in This Set

Cheat sheet Covers
macOS Homebrew Cheat Sheet Installing, upgrading, and removing formulae and casks; Brewfiles; cleanup
macOS System, Updates and Hardware Cheat Sheet softwareupdate, full installers, Xcode tools, system_profiler, powermetrics, diskutil and APFS, Time Machine snapshots, battery, caffeinate
macOS Networking Cheat Sheet Interfaces, Wi-Fi diagnostics, DNS, networkQuality, listening ports, Application Firewall and pf
macOS launchd, Processes and Logs Cheat Sheet launchctl user and system services, LaunchAgents, processes, log show and log stream
macOS Security Cheat Sheet Gatekeeper, XProtect, quarantine attributes, codesign, notarization, FileVault
macOS defaults, Finder and CLI Tips Cheat Sheet defaults tweaks for Finder, Dock, and screenshots; clipboard, open, mdfind, and plist tools

For Homebrew commands that work on both macOS and Linux, see the Homebrew Command Reference.


Sources & Official Documentation