Skip to content

Instantly share code, notes, and snippets.

@eleventy7
Last active December 29, 2018 14:15
Show Gist options
  • Select an option

  • Save eleventy7/efea3cf936d7558b57d1570b23b38cc3 to your computer and use it in GitHub Desktop.

Select an option

Save eleventy7/efea3cf936d7558b57d1570b23b38cc3 to your computer and use it in GitHub Desktop.
Setup new Mac
New machine setup
Install Homebrew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Zsh
Guide: https://sourabhbajaj.com/mac-setup/iTerm/zsh.html (https://sourabhbajaj.com/mac-setup/iTerm/zsh.html)
Install ZSH
brew install zsh
brew install zsh-completions
Install oh my zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
Set ZSH as default
chsh -s $(which zsh)
Zsh Plugins in .zshrc
plugins=(
git
mvn
gradle
osx
zsh-syntax-highlighting
globalias
jenv
web-search
history
history-substring-search
)
zsh bindings within .zshrc
bindkey "$terminfo[kcuu1]" history-substring-search-up
bindkey "$terminfo[kcud1]" history-substring-search-down
Java etc
Install pre-reqs
brew tap caskroom/cask
brew tap caskroom/versions
brew cask install jenv
brew cask install java
brew cask install java8
brew install maven
brew install git
brew install hub
brew install gnu-sed
brew install python
brew install node
brew install tree
brew install gradle
brew install keka
Setup .zshrc
echo 'export PATH="$HOME/.jenv/bin:$PATH"' >> ~/.zshrc
echo 'eval "$(jenv init -)"' >> ~/.zshrc
Add JVMs
jenv add /Library/Java/JavaVirtualMachines/…/Contents/Home
Apps
Cask items
brew cask install \
alfred \
jetbrains-toolbox \
docker \
google-chrome \
google-photos-backup-and-sync \
zoom \
1password \
microsoft-office \
sketch \
istat-menus \
busycal \
google-drive-file-stream \
spotify \
firefox \
transmit \
iterm2 \
slack \
plantronics-hub \
ringcentral \
grammarly \
krisp \
visual-studio-code \
adobe-creative-cloud
Quicklook improvements
brew cask install \
qlcolorcode \
qlstephen \
qlmarkdown \
quicklook-json \
qlprettypatch \
quicklook-csv \
betterzip \
webpquicklook \
suspicious-package
Mac App Store CLI
brew install mas
Ulysses
mas install 1225570693
Tweetbot
mas install 1384080005
Things3
mas install 904280696
Trello
mas install 1278508951
ColorSnapper2
mas install 969418666
MindNode5
mas install 1289197285
Moom
mas install 419330170
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment