Personal dotfiles for macOS.
Warning: Parts of the installation process will overwrite existing configuration files. You should fork this repository, review the code, and make additions or omissions before proceeding. Use at your own risk!
- If your Mac does not have Git installed, first install the Xcode Command Line Tools.
xcode-select --install
- Clone the bare Git repository.
git clone --bare https://github.com/ryantoddgarza/dotfiles.git $HOME/.dotfiles
- Checkout and setup the Git repository.
Warning: This command will overwrite existing files with matching filenames. Backup your files before proceeding.
git --git-dir=$HOME/.dotfiles --work-tree=$HOME checkout --force
dotf submodule update --init --recursive
dotf config status.showUntrackedFiles no
- Review the following scripts and make additions or omissions.
~/.macos/install-software
~/.macos/set-app-preferences
~/.macos/set-macos-defaults
- Run the provided scripts.
cd ~/.macos
./install-software
./set-app-preferences
./set-macos-defaults
If you get the error Could not write domain <domain>; exiting
after running set-macos-defaults, you may need to grant your terminal app Full Disk Access: System Preferences > Privacy > Full Disk Access