Contents

Mac OS Boot Commands

Boot Into Recovery

Press ⌘ Command + R

/images/screenshot_boot_utilities_screenshot.jpg
OSX Rocovery Utilities

Boot Drive Selection Menu

Press ⌥ Option key on boot

Apple Diagnostics/Hardware Test

Hod D key while machine boots

/images/apple_hardware_tests.jpg
Apple Hardware Test

Reset NVRAM

Hold ⌥ Option + ⌘ Command + P + R while booting

NVRAMNonvolatile RAM is how your Mac saves specific preferences when it is powered off. NVRAM handles volume, resolution, time zone settings, and startup disk.

Reset the SMC

Resetting the SMCsystem management controller can help with many hardware issues. If your fans are running even when your Mac is idle is a good example. It also addresses issues with sleep, the ambient light sensor, and keyboard backlight. It may fix some issues with your Mac’s battery charging.

The instructions for resetting the SMC were copied verbatim from Apple Support

For Macs with a T2 chip

  1. Shut down your Mac.
  2. On your built-in keyboard, press and hold all of the following keys. Your Mac might turn on.
    • Control ⌃ on the left side of your keyboard
    • Option ⌥ on the left side of your keyboard
    • Shift ⇧ on the right side of your keyboard
  3. Keep holding all three keys for 7 seconds, then press and hold the power button as well. If your Mac is on, it will turn off as you hold the keys.
  4. Keep holding all four keys for another 7 seconds, then release them.
  5. Wait a few seconds, then press the power button to turn on your Mac.

For all other Macs

  1. Shut down your Mac.
  2. On your built-in keyboard, press and hold all of these keys:
    • Shift ⇧ on the left side of your keyboard
    • Control ⌃ on the left side of your keyboard
    • Option ⌥ on the left side of your keyboard
  3. While holding all three keys, press and hold the power button as well.
  4. Keep holding all four keys for 10 seconds.
  5. Release all keys, then press the power button to turn on your Mac.

Verbose Boot

Hold ⌘ Command + V while booting.

Safe Mode

Hold ⌃ Shift Key while booting.

Single User Mode/Boot Into Shell

Hold ⌘ Command + S while booting.

This drops you to a command line with root privileges.

Target Disk Mode

Hold T while booting.

If you want to copy data off of a Mac, Target Disk Mode is useful. Hold T when booting your Mac and then connect your Mac to another Mac using a Thunderbolt, Firewire, or USB-C. You can then use Migration Assistant or even Finder to copy the files that you need. This mode has a somewhat limited application, but it is one that can be helpful.