You can clone the repository wherever you want. (I like to keep it in ~/Projects/dotfiles, with ~/dotfiles as a symlink.) The bootstrapper script will pull in the latest version and copy the files to your home folder.
git clone https://github.com/letanure/dotfiles.git && cd dotfiles && source bootstrap.shTo update, cd into your local dotfiles repository and then:
source bootstrap.shAlternatively, to update while avoiding the confirmation prompt:
set -- -f; source bootstrap.shTo install these dotfiles without Git:
cd; curl -#L https://github.com/letanure/dotfiles/tarball/main | tar -xzv --strip-components 1 --exclude={README.md,bootstrap.sh}To update later on, just run that command again.
When setting up a new Mac, you may want to set some sensible macOS defaults:
./.macosWhen setting up a new Mac, you may want to install some common Homebrew formulae (after installing Homebrew, of course):
./brew.shSome of the functionality of these dotfiles depends on formulae installed by brew.sh. If you don’t plan to run brew.sh, you should look carefully through the script and manually install any particularly important ones. A good example is Bash/Git completion: the dotfiles use a special version from Homebrew.