How to reinstall macOS from macOS Recovery — Apple Support

To reinstall macOS using macOS Recovery, first ensure your Mac is connected to the internet, plugged in, and turned off. If using a wireless keyboard, connect it via USB or use a wired or built-in keyboard. Start up your Mac and immediately press and hold one of these key combinations: Command-R to reinstall the latest macOS, Option-Command-R to upgrade to the latest compatible version, or Shift-Option-Command-R to reinstall the original macOS or a close version. Release the keys when you see the Apple logo or a startup screen. Enter your password if prompted, then choose “Reinstall macOS” from the Utilities window and follow the on-screen instructions. Select the disk for installation, and wait for the process to complete without interrupting. Once done, enter your password at the login window to finish the setup.

Summary:
– Ensure your Mac is connected to the internet, plugged in, and turned off before starting.
– Use the appropriate key combination at startup: Command-R (latest version), Option-Command-R (latest compatible version), or Shift-Option-Command-R (original or closest version).
– Release the keys when you see the Apple logo, enter your firmware or admin password if prompted, and select “Reinstall macOS” in the Utilities window.
– Follow the on-screen instructions to choose the installation disk and complete the process, which may involve multiple restarts and progress bars.
– Once installation is complete, log in with your password and follow any additional prompts.