My defaults for a new machine, and current ZSH profile. Based off Dries Vint's dotfiles.
First ensure the settings of the old Mac are backed up with mackup by running mackup backup
.
-
Update macOS to the latest version through system preferences
-
Generate a new public and private SSH key by running:
curl https://raw.githubusercontent.com/laurensgroeneveld/dotfiles/HEAD/ssh.sh | sh -s "<your-email-address>"
-
Copy the SSH key by running
pbcopy < ~/.ssh/id_ed25519.pub
-
Add the SSH key to your GitHub account.
-
Clone this repo to
~/.dotfiles
with:git clone [email protected]:laurensgroeneveld/dotfiles.git ~/.dotfiles
-
Run the installation with:
~/.dotfiles/fresh.sh
This will install Oh My Zsh the first time.
-
Restart Terminal or open a new window for the Oh My Zsh configuration to take effect, and run the install script a second time.
-
After mackup is synced with your cloud storage, restore preferences by running
mackup restore
-
Restart your computer to finalize the process
Your Mac is now ready to use!