On a sparkling fresh installation of macOS:
sudo softwareupdate -i -a
xcode-select --installThe Xcode Command Line Tools includes git and make (not available on stock macOS). Then, install
this repo with curl available:
bash -c "`curl -fsSL https://raw.githubusercontent.com/austinmcconnell/dotfiles/master/remote-install.sh`"This will clone (using git), or download (using curl or wget), this repo to ~/.dotfiles. If
you prefer, you can manually clone into the desired location:
git clone https://github.com/austinmcconnell/dotfiles.git ~/.dotfilesRun setup script install.sh:
cd ~/.dotfiles
install.shdotfiles dock(set Dock items)dotfiles macos(set macOS defaults)
$ dotfiles help
Usage: dotfiles <command>
Commands:
clean |Clean up caches (brew, npm, gem, rvm)
dock |Apply macOS Dock settings
edit | Open dotfiles in IDE (code) and Git GUI (stree)
help |This help message
macos |Apply macOS system defaults
test |Run tests
update |Update packages and pkg managers (OS, brew, npm, gem)