My public dotfiles and mac configuration.
Does not include more sensitive files (eg .ssh
).
- I would recommend using symlinks to 'place' these dotfiles in your home directory
~
.- Use the included
create-symlinks.sh
script. - Or
ln -sv /path/to/a/dotfile ~
will create a symlink to your home directory, where most programs expect dotfiles to be.
- Use the included
Brewfile and scripts to bootstrap a fresh Mac install.
- Installs xcode command line tools.
- Installs Homebrew and tools/apps listed in the Brewfile.
- Configure Dotfiles.
You can bootstrap a new mac using the included bootstrap.sh
script. You should be able to run this script from a brand new mac using only included, default tools.
The script sets up a ssh key, configures git, downloads dotfiles, installs homebrew, and installs my commonly used packages/tools/apps via homebrew.
- Download the bootstrap script from this git repo:
$ curl -o /tmp/bootstrap.sh https://raw.githubusercontent.com/dcchambers/dotfiles/master/mac-config/bootstrap.sh
- Run the script
$ chmod +x /tmp/bootstrap.sh $ /tmp/bootstrap.sh
- If you just want to install the applications listed in the
Brewfile
, run this command from the directory that contains yourBrewfile
. (Requires Homebrew)$ brew bundle install
Brewfile.personal
contains tools and applications I only want installed on my personal machine.$ brew bundle install --file Brewfile.personal
- These dotfiles are mac-focused and built to share some config between several
machines. I recently separated my dotfiles for my work computer into a separate private repostitory because sharing configurationw was getting messy.
- 2022 M2 Macbook Air 13"
- 2024 M4 Mac Mini
- For details about the programs I use, see my /uses page