Update Mac From Terminal

  

I have issues every now and then with the Mac App Store app on my computer not loading. It just sits there, not responding to my clicks and what feels like laughing in my face as I just try to update my damn apps.

I recently learned a new trick to force your updates to go through, even if the Mac App Store app is misbehaving. It requires you to go into the Terminal, but be brave and you and I can get through this.

Step 1: Open Terminal app (Applications/Utilities)

Comment and share: How to perform a clean install (or upgrade) of macOS Mojave via Terminal By Jesus Vigo. Jesus Vigo is a Network Administrator by day and owner of Mac Jesus, LLC, specializing in. To update macOS from the command line, first launch Terminal, which can be found in the Applications/Utilities folder. This will open a Terminal window and a command prompt for you to begin typing. Update Your Mac with Terminal. You can find the Terminal app by opening Finder and going to Applications Utilities. Or, you can use Spotlight. Once Terminal is open, type the following command.

Step 2: Paste sudo softwareupdate -i -a and press Enter

Step 3: It will prompt for your password and then perform all your pending updates.

That's it! Unlike the normal update process, it can't reboot your computer if it's needed, so heed the warning it gives you after completing the updates and restart as need be.

Mac

Bonus Tips!

sudo softwareupdate -l shows all pending updates

sudo softwareupdate -d downloads, but doesn't install updates

macOS Big Sur elevates the most advanced desktop operating system in the world to a new level of power and beauty. Experience Mac to the fullest with a refined new design. Enjoy the biggest Safari update ever. Discover new features for Maps and Messages. And get even more transparency around your privacy.

Check compatibility

How to update mac from terminal

macOS Big Sur is compatible with the following computers. If your Mac isn't compatible, you might be able to install an old version of macOS instead.

MacBook introduced in 2015 or later
MacBook Air introduced in 2013 or later
MacBook Pro introduced in late 2013 or later
Mac mini introduced in 2014 or later
iMac introduced in 2014 or later
iMac Pro
Mac Pro introduced in 2013 or later
View the complete list of compatible computers.

If upgrading from macOS Sierra or later, your Mac needs 35.5GB of available storage to upgrade. If upgrading from an earlier release, your Mac needs up to 44.5GB of available storage. To upgrade from OS X Mountain Lion, first upgrade to OS X El Capitan, then upgrade to macOS Big Sur.

Download macOS Big Sur

Update Mac From Terminal

If you're using macOS Mojave or later, get macOS Big Sur via Software Update: Choose Apple menu  > System Preferences, then click Software Update.

Or use this link to open the macOS Big Sur page on the App Store: Get macOS Big Sur. Then click the Get button or iCloud download icon.

Install macOS Big Sur

Mac Update Java From Terminal

After downloading, the installer opens automatically. Click Continue and follow the onscreen instructions.

How To Update Mac From Terminal

Please allow installation to complete without putting your Mac to sleep or closing its lid. During installation, it might restart and show a progress bar or blank screen several times. You might find it easiest to begin installation in the evening so that it can complete overnight, if needed.

Update Mac Os From Terminal

Stay up to date

Mac Update_terminal_cwd

After installing macOS Big Sur, you will be notified when updates to macOS Big Sur are available. To check for updates, choose Apple menu  > System Preferences, then click Software Update.