This automates the setup process of my macOS machines:
- Installs over 30 apps and utilities using a
Brewfile
. - Sets up my terminal to look a bit nicer with dotfiles:
.bash_profile
,.bashrc
,.aliases
. - Sublime Text config: enables
subl
as a command in terminal, and (soon) configures it with my settings and packages.
Xcode command-line tools:
xcode-select --install
Homebrew:
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Supply destination directory (usually /Users/username
) and source directory (where dotfiles are located on the current machine):
./install.sh /Users/username code/macos-setup/
Or call ./install.sh
and supply directories as prompted.
Figure out order of operations (in aninstall.sh
file)- Copy settings files to their appropriate places
- copy old dot-files instead of overwriting
Make sure dobrew.sh installs in the right directories
install.sh
now prompts for home directory and dotfiles directory if not given asargs
- The terminal customizations and aliases are heavily inspired by Corey Schafer's dotfiles repo.