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! 😄
- 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
~/.ssh
and make sure they're set to600
- Clone this repo to
~/.dotfiles
- Append
/usr/local/bin/zsh
to the end of your/etc/shells
file - Run
install.sh
to start the installation - Restore preferences by running
mackup restore
- Restart your computer to finalize the process
Your Mac is now ready to use!
Note: you can use a different location than
~/.dotfiles
if you want. Just make sure you also update the reference in the.zshrc
file.
PHP 7.1, 7.2. and 7.3 are installed by default and you can switch between them.
Example for switching to PHP 7.3: setphp 7.3
.
I first got the idea for starting this project by visiting the Github does dotfiles project. Both Dries Vints Zach Holman and Mathias Bynens were great sources of inspiration. Sourabh Bajaj's Mac OS X Setup Guide proved to be invaluable. Thanks to Taylor Otwell for his awesome Zsh theme! And lastly, I'd like to thank Maxime Fabre for his excellent presentation on Homebrew which made me migrate a lot to a Brewfile
and Mackup.
In general, I'd like to thank every single one who open-sources their dotfiles for their effort to contribute something to the open-source community. Your work means the world! 🌍 ❤️