Skip to content

Latest commit

 

History

History
executable file
·
171 lines (152 loc) · 3.47 KB

File metadata and controls

executable file
·
171 lines (152 loc) · 3.47 KB

Setup for Mac

Development Tools

aws-cli

brew install awscli
aws configure

brew

# install brew - http://brew.sh
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

docker

# install docker
brew install docker
# setup completion (for zsh)
etc=/Applications/Docker.app/Contents/Resources/etc
ln -s $etc/docker.zsh-completion /usr/local/share/zsh/site-functions/_docker
ln -s $etc/docker-machine.zsh-completion /usr/local/share/zsh/site-functions/_docker-machine
ln -s $etc/docker-compose.zsh-completion /usr/local/share/zsh/site-functions/_docker-compose

fish + fzf + eza + starship

brew install fish
sudo vi /etc/shells
# add `/usr/local/bin/fish` for Intel (or `/opt/homebrew/bin/fish` for ARM)
chsh -s /usr/local/bin/fish
# install fisher + fzf
curl -sL https://git.io/fisher | source && fisher install jorgebucaran/fisher
brew install fzf
fisher install jethrokuan/fzf
# install eza
brew install eza
# install starship
curl -sS https://starship.rs/install.sh | sh

Go lang

# install go
brew install go
# go setup $GOPATH
# export GOPATH=$HOME/Workspace/go
# export PATH=$PATH:$GOPATH/bin

iterm2

#install
brew install iterm2
# use preferences directory
defaults write com.googlecode.iterm2.plist PrefsCustomFolder -string ~/.iterm2
defaults write com.googlecode.iterm2.plist LoadPrefsFromCustomFolder -bool true
# after launch turn on Preferences -> General -> Settings -> Save changes When Quitting.

java / scala / sbt / gradle / groovy / kotlin

# install sdkman + modify .bashrc/.zshrc
curl -s "https://get.sdkman.io" | bash
# (for fish)
fisher install reitzig/sdkman-for-fish
# install java
sdk install java
# install gradle
sdk install gradle
# install scala
sdk install scala
# install sbt
sdk install sbt
# install groovy
sdk install groovy
# install kotlin
sdk install kotlin

kubernetes / helm / minicube

brew install kubectl
brew install helm
brew install minikube
# (for fish)
fisher add evanlucas/fish-kubectl-completions

mysql

brew install mysql
# mysql.server start
# mysql.server stop

node.js / npm / nvm

# install nvm
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash
# (for fish to handle NVM_DIR export)
fisher install FabioAntunes/fish-nvm
fisher install edc/bass
# install latest node.js
nvm install node

python

# install python 3
brew install python
# install python 2
brew install python@2

react-native

# install node (see above)
# install watchman
brew install watchman
# install reative-native-cli
npm install -g react-native-cli

ruby / rbenv / rails

# install rbenv
brew install rbenv
rbenv init
# ruby should be installed
# install rails
gem install rails
rbenv rehash

terraform

# install tfenv
brew install tfenv
# install terraform
tfenv install latest
tfenv use

yarn

brew install yarn

zsh / oh-my-zsh / antigen

# zsh zsh-completions
brew install zsh zsh-completions
# oh-my-zsh - http://ohmyz.sh
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
# antigen (into home directory) - http://antigen.sharats.me
curl -L git.io/antigen > ~/antigen.zsh
# now setup your dotfiles

Environment Setup

# show hidden files
defaults write com.apple.finder AppleShowAllFiles YES
killall Finder

# Markdown Preview
brew install qlmarkdown