Created
January 7, 2018 17:38
-
-
Save lmarti17/ad150ca990dfdab15434a270d5f0874a to your computer and use it in GitHub Desktop.
A shell script to install all apps / packages I usually use for working as an Interactive developer (not tested for now though)
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
#!/usr/bin/env bash | |
# Install command-line tools using Homebrew. | |
# Ask for the administrator password upfront. | |
sudo -v | |
# Keep-alive: update existing `sudo` time stamp until the script has finished. | |
while true; do sudo -n true; sleep 60; kill -0 "$$" || exit; done 2>/dev/null & | |
# Check for Homebrew, | |
# Install if we don't have it | |
if test ! $(which brew); then | |
echo "Installing homebrew..." | |
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
fi | |
# Make sure we’re using the latest Homebrew. | |
brew update | |
# Upgrade any already-installed formulae. | |
brew upgrade --all | |
brew install zsh | |
# Install more recent versions of some OS X tools. | |
brew install vim --override-system-vi | |
brew install homebrew/dupes/grep | |
brew install homebrew/dupes/openssh | |
brew install homebrew/dupes/screen | |
brew install homebrew/php/php55 --with-gmp | |
# Install font tools. | |
brew tap bramstein/webfonttools | |
brew install sfnt2woff | |
brew install sfnt2woff-zopfli | |
brew install woff2 | |
# Install other useful binaries.$ | |
# zsh | |
brew install zsh zsh-completions | |
curl -L https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh | sh | |
chsh -s /usr/local/bin/zsh | |
brew install git | |
brew install imagemagick --with-webp | |
brew install nvm | |
nvm install v9.3.0 | |
nvm use 9.3.0 | |
nvm alias default 9.3.0 | |
# Install Cask | |
brew install caskroom/cask/brew-cask | |
brew tap caskroom/versions | |
# Core casks | |
brew cask install --appdir="/Applications" alfred | |
brew cask install --appdir="~/Applications" iterm2 | |
# Development tool casks | |
brew cask install --appdir="/Applications" sublime-text | |
brew cask install --appdir="/Applications" atom | |
brew cask install --appdir="/Applications" virtualbox | |
# Misc casks | |
brew cask install --appdir="/Applications" google-chrome | |
brew cask install --appdir="/Applications" firefox | |
brew cask install --appdir="/Applications" slack | |
brew cask install --appdir="/Applications" dropbox | |
brew cask install --appdir="/Applications" zeplin | |
brew cask install --appdir="/Applications" flux | |
brew cask install --appdir="/Applications" postman | |
brew cask install --appdir="/Applications" robomongo | |
brew cask install --appdir="/Applications" spectacle | |
brew cask install --appdir="/Applications" vlc | |
brew cask install --appdir="/Applications" whatsapp | |
brew cask install --appdir="/Applications" caprine | |
brew cask install --appdir="/Applications" spotify | |
# Install Docker, which requires virtualbox | |
# brew install docker | |
# brew install boot2docker | |
# Install developer friendly quick look plugins; see https://github.com/sindresorhus/quick-look-plugins | |
brew cask install qlcolorcode qlstephen qlmarkdown quicklook-json qlimagesize | |
# Remove outdated versions from the cellar. | |
brew cleanup | |
# Setup dev folder | |
cd /~ | |
mkdir Sites | |
mkdir Developer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment