One time development environment setup on macOS
Scripts are
bash
Show hidden files:
defaults write com.apple.finder AppleShowAllFiles YESHold the 'Option/alt' key, then right click on the Finder icon in the dock and click Relaunch
Install Homebrew:
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"macOS comes with outdated version of bash. Install latest version.
brew update
brew install bashxcode-select --installnvm is node.js version manager.
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.31.4/install.sh | bashClose and reopen terminal.
Install via nvm:
nvm install v18.12.1Make sure you do not have default node set:
nvm unalias defaultActivate node 18.12.1:
nvm use 18.12.1Configure npm (Node Package Manager) to save versions of packages in packages.json. This way you can have the same stable environment on all development machines:
npm config set save=true
npm config set save-exact=truenvm use 18.12.1
npm install --global eslintbrew install ghcd ~/Downloads
curl "https://awscli.amazonaws.com/AWSCLIV2.pkg" -o "AWSCLIV2.pkg"
sudo installer -pkg AWSCLIV2.pkg -target /For additional AWS setup see AWS