By: FilioTech Updated on: May 13, 2020
Change Date in macOS Catalina via Terminal 2020
If you ever wondered, how to change the date in macOS Catalina, or if you have following error message:
Installation Failed An error occurred while preparing the installation. Try running again.
during macOS install/upgrade to macOS Catalina, Mojave, High Sierra, or technically any other macOS Software this blog post is for you.
Change Date via Terminal in macOS
The above error indicates that most likely your Mac System Date is incorrect.
Boot into macOS Recovery again by restarting your Mac and holding CMD + R keys together.
While in the Recovery mode, cancel the installation process, and navigate to Utilities and open the Terminal app.
Once in the Terminal, enter the following command and hit return/enter:
date
You should see something like this:
example: date {month}{day}{hour}{minute}{year}
Every bracket should be replaced with a two-digit number. For example.
November 16th 2018 21:16 would become the following command:
date 1116211618