On a sparkling fresh installation of macOS:
sudo softwareupdate -i -a
xcode-select --install
The Xcode Command Line Tools includes git
and make
(not available on stock macOS). Now there are two options:
- Install this repo with
curl
available:
bash -c "`curl -fsSL https://raw.githubusercontent.com/danepowell/dotfiles/master/remote-install.sh`"
This will clone or download this repo to ~/.dotfiles
(depending on the availability of git
, curl
or wget
).
- Alternatively, clone manually into the desired location:
git clone https://github.com/danepowell/dotfiles.git ~/.dotfiles
- Use the Makefile to install the packages listed above, and symlink runcom and config files (using stow):
cd ~/.dotfiles
make
Running make
with the Makefile is idempotent. The installation process in the Makefile is tested on every push and every week in this
GitHub Action. Please file an issue in this repo if there are errors.
- Set macOS Dock items and system defaults:
dot dock
dot macos
Credit for most of this goes to https://github.com/webpro/dotfiles