This is the repo I use to set up a new machine and get it ready for development.
Run this to make sure you're up to date and and you have XCode command line tools installed:
./osxprep.sh[TBD]
Tweak the operating system with better defaults:
./osx.shPlease note that you may need to log out and log back in for some changes to take effect.
Install Homebrew:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"./brew.shInstall zsh:
brew install zshand set it as your default shell:
On M1-based machines:
chsh -s /opt/homebrew/bin/zshOn Intel-based machines:
chsh -s /usr/local/bin/zshInstall oh-my-zsh:
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"Install a custom plugin for zsh to add syntax highlighting when typing in the shell following these instructions.
Install Git:
brew install git- Generate a new key (reference):
ssh-keygen -t ed25519 -C "your_email@example.com" - Copy the SSH public key to your clipboard (reference)
pbcopy < ~/.ssh/id_ed25519.pub
- Create a new SSH key on Github and paste your public key
Install apps using:
./apps.sh./dock.sh[TBD]
Use NVM (Node Version Manager) to be able to manage the installation of different Node versions on the same machine.
-
Install NVM using curl
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bashThis will also add a snippet in
.zshrcfile to load NVM. -
Install Node. Here we install the long term support version
nvm install --lts