Script for new Mac installations.
This setup script is for setting up a new Mac with applications needed by developers.
Please feel free to alter this script to meet your specific needs.
To install this script from a brand new Mac (fresh out of the box!), open Terminal
and run the following command.
bash -c "$(curl -fsSL https://raw.githubusercontent.com/SnapITSolutions/NewMacScript/main/setup.sh)"
All of the following are commands that you can enter directly into Terminal or let the script run for you.
Homebrew is a third-party package manager for MacOS.
bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew doctor
brew update
brew upgrade
iTerm2 is a better terminal.
brew cask install iterm2
brew install git
Ruby is installed using rvm
.
bash -c "$(curl -sSL https://get.rvm.io | bash -s stable --ruby)"
gem install rails
gem install bundler
zsh isn't installed by this script. For more details, see this page.
The setup script installs even more tools. Read through the script for more details!