If Safari on your Mac has become impossibly slow, constantly crashes when opening new tabs, or refuses to render specific websites correctly, the standard troubleshooting steps (clearing the cache, disabling extensions) might not be enough. If the core application files have become corrupted, Safari needs a clean installation.
Unlike third-party apps like Google Chrome, you cannot simply drag the Safari icon to the Trash can. macOS protects Safari as a core system component. In the past, the only way to fix a corrupted Safari was to completely wipe your hard drive and reinstall the entire macOS operating system. Fortunately, Apple now provides a hidden, official method to download and reinstall just the Safari browser using a Terminal command.
How to Reinstall Safari Without Reinstalling macOS
You must use the hidden softwareupdate command-line tool to fetch the standalone Safari installer directly from Apple’s servers.
- Open the Finder, go to Applications, open the Utilities folder, and double-click Terminal (or press Command + Space and search for Terminal).
- You must tell macOS to fetch the latest list of available background updates. Type the following command and press Enter:
softwareupdate --list - The Terminal will spend a minute communicating with Apple’s servers. It will then output a list of available updates.
- Look closely through the text for an entry specifically named Safari (for example,
Safari16.4Auto-16.4). - Highlight the exact name of the Safari update with your mouse and press Command + C to copy it.
- Now, type the following command, but replace the bracketed text with the name you just copied:
softwareupdate --install [Paste Safari Name Here] - (Example:
softwareupdate --install Safari16.4Auto-16.4). - Press Enter.
The Terminal will silently download the pristine, standalone Safari installer package and install it directly over your corrupted version. This process completely overwrites the core application files while preserving your bookmarks and passwords. Once the Terminal says “Done,” open Safari, and it should run perfectly smooth again.