-
-
Save florido/c4bdcbdcd393ff02414d2aee1fb032d4 to your computer and use it in GitHub Desktop.
Joaquin's New MacBook Starter Script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Command Line Tools | |
xcode-select --install | |
# Download XCode | |
# Instructions: https://stackoverflow.com/questions/4081568/downloading-xcode-with-wget-or-curl | |
# URL: https://download.developer.apple.com/Developer_Tools/Xcode_10.1/Xcode_10.1.xip | |
sudo xcodebuild -license | |
# Mojave only - need headers or nothing works | |
TOOLS_PATH="/Library/Developer/CommandLineTools/" | |
HEADERS_PKG="macOS_SDK_headers_for_macOS_10.14.pkg" | |
sudo installer -pkg $TOOLS_PATH/Packages/$HEADERS_PKG -target / | |
# Ruby | |
BREWRL=https://raw.githubusercontent.com/Homebrew/install/master/install | |
ruby -e "$(curl -fsSL $BREWRL)" | |
brew install rbenv | |
rbenv install 2.5.3 | |
rbenv init | |
echo 'eval "$(rbenv init -)"' >> $HOME/.bash_profile | |
eval "$(rbenv init -)" | |
rbenv global 2.5.3 | |
# Node.js | |
mkdir ~/.nvm | |
export NVM_DIR="$HOME/.nvm" | |
. "/usr/local/opt/nvm/nvm.sh" | |
nvm install 10.14 | |
# Python | |
brew install readline xz | |
pyenv install 2.7.15 | |
pyenv install 3.7.1 | |
pyenv init | |
echo 'eval "$(pyenv init -)"' >> $HOME/.bash_profile | |
eval "$(pyenv init -)" | |
pyenv global 2.7.15 3.7.1 | |
# toolz | |
brew install kubectl # have brew manage this instead of google or docker | |
brew install terraform | |
brew install packer | |
# applications | |
brew cask install firefox | |
brew cask install google-chrome | |
brew cask install omnigraffle | |
brew cask install atom | |
brew cask install visual-studio-code | |
brew cask install iterm2 | |
# virtualization + docker | |
sudo spctl --master-disable | |
brew cask install virtualbox | |
# manual approval process required | |
# `sudo spctl --master-disable` fails | |
# `spctl kext-consent add $K` fails | |
brew cask install virtualbox | |
brew cask install vagrant | |
brew cask install vagrant-manager | |
brew cask install docker-toolbox # docker machine, kitematic | |
brew cask install docker # docker desktop |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment