Last active
January 18, 2020 14:25
-
-
Save qgervacio/e861e26d638ea5119d93ea62df37994b to your computer and use it in GitHub Desktop.
Developer Setup in OSX
This file contains 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
# ---------------------- | |
# Developer Setup in OSX | |
# ---------------------- | |
# NOTE: Skip the steps that you don't need. | |
# Reference(s): | |
# https://docs.brew.sh/Installation | |
# https://github.com/robbyrussell/oh-my-zsh | |
# https://docs.docker.com/docker-for-mac/install | |
# https://www.citrix.com/downloads/citrix-receiver/mac/receiver-for-mac-latest.html | |
# https://ahmadawais.com/install-go-lang-on-macos-with-homebrew/ | |
# Tested in OSX 10.15.2 (19C57) | |
# install brew (https://brew.sh) | |
# install command lines tools first found in https://developer.apple.com/downloads | |
# or simply install XCode first | |
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
# basics | |
brew cask install iterm2 | |
brew install git # replace Apple git | |
brew cask install visual-studio-code | |
brew cask install sourcetree | |
# iterm pimpin' | |
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" | |
git clone https://github.com/zsh-users/zsh-autosuggestions ~/.oh-my-zsh/custom/plugins/zsh-autosuggestions | |
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ~/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting | |
# virtualbox | |
brew cask install virtualbox | |
# i prefer this method of installation | |
https://hub.docker.com/?overlay=onboarding | |
# gpg tool | |
https://gpgtools.org | |
# kubectl, helm3 | |
brew install kubectl | |
brew install helm | |
# java variants | |
brew tap AdoptOpenJDK/openjdk | |
brew cask install adoptopenjdk8 | |
# or the latest | |
# brew cask install adoptopenjdk | |
# Go | |
brew install go | |
# export GOPATH="${HOME}/.go" or export GOPATH="/Volumes/data/Projects/go" | |
# export GOROOT="$(brew --prefix golang)/libexec" | |
# export PATH="$PATH:${GOPATH}/bin:${GOROOT}/bin" | |
# node, yarn, maven and ant | |
brew install node | |
brew install yarn | |
brew install maven | |
brew install ant | |
# az cli | |
brew install azure-cli | |
# test it | |
go get golang.org/x/tools/cmd/godoc | |
go get github.com/golang/lint/golint | |
# finally, some useless aliases. put in your ~/.zshrc | |
alias m="make" | |
alias ll="clear && ls -lrt" | |
alias dm="docker-machine" | |
alias bu="brew update && brew upgrade && brew cleanup -s && brew doctor && brew missing" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment