These be the dotfiles. Get a fresh Mac up and running in less time than it takes to do it manually.
- Check that your Brewfile is up to date and push any changes to this repository
- Erase your disk and reinstall macOS
- Clone this Git repository and run the scripts
Follow these steps to format your disk and reinstall macOS
- Turn off your machine
- Hold on to Option + Command + R and turn your machine on
- Select Disk Utility and erase your disk
- Select Reinstall macOS
Follow these guides to erase your disk and reinstall macOS
Use one of these shortcuts to reboot your machine in macOS recovery mode.
Shortcut | Details |
---|---|
Command + R | Install the latest macOS that was installed on your Mac |
Option + Command + R | Upgrade to the latest macOS compatible with your Mac (recommended) |
Shift + Option + R | Install the macOS that came with your Mac, or the closest version still available |
Install Xcode command line tools
xcode-select --install
Clone this repository
git clone https://github.com/jsstrn/dotfiles.git ~/.dotfiles
Change into the directory
cd ~/.dotfiles
Install all applications
./up apps
Install all .dotfiles
./up stow
A Brewfile lists all your Homebrew dependencies.
Generate a Brewfile by running the following command:
brew bundle dump
If a Brewfile already exists, you can overwrite it by adding --force
brew bundle dump --force
You can search for Homebrew formulae on https://formulae.brew.sh
The popular dotfiles do a lot and instead of just forking them, I wanted to write my own dotfiles.
- some install scripts were plucked from Sahil Bajaj's up
- some macOS preferences were picked from Mathias Bynens' dotfiles
- other ideas where inspired by Zach Holman's dotfiles