When setting up a new Mac this should be the bare minimal that is installed and working.
- Should be a managed admin or full admin.
xcode-select --install
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.2/install.sh | bash
The script clones the nvm repository to
~/.nvm
and adds the source line to your profile (~/.bash_profile,~/.zshrc
,~/.profile
, or~/.bashrc
).export NVM_DIR="$HOME/.nvm" [ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm
nvm install 10.16.0
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install rbenv
You will need to add the following source line to your profile (~/.bash_profile,
~/.zshrc
,~/.profile
, or~/.bashrc
).# Load rbenv export PATH="$HOME/.rbenv/bin:$PATH" eval "$(rbenv init -)"
rbenv install 2.3.0
If you run into errors with
zlib
install a ruby version using the following.brew install zlib RUBY_CONFIGURE_OPTS="--with-zlib-dir=$(brew --prefix zlib)" rbenv install 2.3.0
brew cask install iterm2 atom tower slack google-chrome firefox sketch spectacle