- Install Apple's Command Line Tools, which are prerequisites for Git and Homebrew.
xcode-select --install
- Clone repo into new hidden directory.
# Use SSH (if set up)...
git clone [email protected]:Laaaaannn/.settings.git ~/.settings
- Create symlinks in the Home directory to the real files in the repo.
sh link-settings.sh
- Install Homebrew, followed by the software listed in the Brewfile.
# These could also be in an install script.
# Install Homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# Then pass in the Brewfile location...
brew bundle --file ~/.settings/Brewfile
# ...or move to the directory first.
cd ~/.settings && brew bundle
Switching between private feed & public feed
https://github.com/deoxxa/npmrc | npm i npmrc -g