Mac Recovery Mode Terminal Commands

Performing troubleshooting in recovery mode will help in solving Mac computer issues. You can also run commands using the Terminal window when your Mac computer is in the recovery mode. Not only for the troubleshooting process, but you can also use the recovery mode to access some system features such as reinstall macOS, restore from a time machine backup, browser the web, manage your disks, choose the default startup disk, and add or remove an EFI firmware password. To access the Terminal or Command Line window in the recovery mode on your Mac computer, read and proceed with the Mac Recovery Mode Terminal Commands guidelines given below.

Mac Recovery Mode Terminal Commands
  • First of all, set your Mac computer in the Recovery Mode.
  • To do it, locate the Command and R buttons on your Mac computer’s keyboard.
  • Press both the buttons simultaneously.
  • If you have done it correctly, your Mac computer will begin to restart.
  • Once your Mac computer reaches the Recovery Mode, select the language as per your desire from the suggested list.
  • Locate the Utilities tab in the macOS Utilities window and click it.
  • Now, the menus available in the Utilities tab will be displayed in the drop-down menu.
  • Select the Terminal option from the drop-down list.
  • Wait for a few minutes.
  • After that, the Terminal window of your Mac computer will open in the recovery mode.
  • Now, you can enter the command you wish to execute for a particular function in the recovery mode of your Mac computer.
  • For example, if you wish to reset your Mac computer’s password, then it can be done using the resetpassword command.
  • Enter this command in the Terminal window.
  • Tap the Enter button on your Mac computer’s keyboard.
  • Now, the password reset utility window will appear on the screen.
  • Enter the current password followed by the new one in the respective fields.
  • After entering the new password, click the Save button.
  • Restart your Mac computer to apply the changes.