Skip to content

Instantly share code, notes, and snippets.

@kvasdopil
Last active November 29, 2018 17:01
Show Gist options
  • Save kvasdopil/feaf542f451beb38d549e9642dffd9e3 to your computer and use it in GitHub Desktop.
Save kvasdopil/feaf542f451beb38d549e9642dffd9e3 to your computer and use it in GitHub Desktop.
My script to quickly bootstrap my osx workstation
#!/bin/sh
# === BASIC SETUP ===
# installing homebrew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew tap caskroom/cask # enable installing osx software via brew
brew tap caskroom/versions # enable versions (to install older jdk, not sure if necessary)
brew tap homebrew/cask-fonts # enable font installing
# === SOFTWARE ===
brew cask install android-studio
brew cask install hipchat
brew cask install iterm2
brew cask install kap # screen capture software to make gifs in jira
brew cask install visual-studio-code
brew cask install java8
brew cask install slack # to talk with my secret KGB superiors
brew cask install telegram # weird russian messenger
brew cask install yandex # weird russian browser
# === COMMAND LINE TOOLS ===
brew cask install font-fira-code # Fira Code font with ligatures support
# TODO: remember to change the font in vscode and iterm
brew install git
brew install node
brew install ack # powerful commandline file search tool
brew install cocoapods # we need that for react-native, right?
# installing zsh
brew install zsh
# change shell to zsh (requires password)
sudo echo `which zsh` >> /etc/shells
chsh `which zsh`
# oh-my-zsh plugin
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
brew install zsh-completions
brew install zsh-syntax-highlighting
# configure zsh
echo 'export ANDROID_HOME=$HOME/Library/Android/sdk' >> ~/.zshrc
echo 'export PATH=$PATH:$ANDROID_HOME/tools export PATH=$PATH:$ANDROID_HOME/platform-tools' >> ~/.zshrc
echo 'source /usr/local/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh' >> ~/.zshrc
echo DEFAULT_USER=`whoami` >> ~/.zshrc
echo 'ZSH_THEME="agnoster"' >> ~/.zshrc
# TODO: remember to install Settings Sync plugin for vscode
# TODO: remember to install xcode
npm i -g yarn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment