This repository serves as my way to help me setup and maintain my Mac. It takes the effort out of installing everything manually. Everything which is needed to install my preffered setup of macOS is detailed in this readme. Feel free to explore, learn and copy parts for your own dotfiles. Enjoy! 😄
These instructions are for when you've already set up your dotfiles.
First, go through the checklist below to make sure you didn't forget anything before you wipe your hard drive.
- Did you backup your private SSH keys?
- Did you commit and push any changes/branches to your git repositories?
- Did you remember to save all important documents from non-iCloud directories?
- Did you save all of your work from apps which aren't synced through iCloud?
- Did you remember to export important data from your local database?
- Did you update mackup to the latest version and ran
mackup backup?
After going to our checklist above and making sure you backed everything up, we're going to cleanly install macOS with the latest release. Follow this article to cleanly install the latest macOS.
If you did all of the above you may now follow these install instructions to setup a new Mac.
- Update macOS to the latest version with the App Store
- Install Xcode from the App Store, open it and accept the license agreement
- Install macOS Command Line Tools by running
xcode-select --install - Copy your public and private SSH keys to
~/.sshand make sure they're set to600 - Clone this repo to
~/.dotfiles - Append
/usr/local/bin/zshto the end of your/etc/shellsfile - Run
bin/setup.shto start the installation - Restore preferences by running
mackup restore - Restart your computer to finalize the process
Your Mac is now ready to use!