dotfiles/setup/brew.sh

34 lines
883 B
Bash
Raw Normal View History

2012-10-12 14:53:55 +00:00
#!/bin/bash
# Based on https://github.com/mathiasbynens/dotfiles/blob/master/.brew
2012-10-19 11:54:20 +00:00
# Setup Homebrew
command -v brew >/dev/null 2>&1 || ruby -e "$(curl -fsSkL raw.github.com/mxcl/homebrew/go)"
2012-10-12 14:53:55 +00:00
# Make sure were using the latest Homebrew
brew update
# Upgrade any already-installed formulae
brew upgrade
# Install GNU core utilities (those that come with OS X are outdated)
brew install coreutils
# Install GNU `find`, `locate`, `updatedb`, and `xargs`, g-prefixed
brew install findutils
# Install wget with IRI support
#brew install wget --enable-iri
# Install more recent versions of some OS X tools
brew tap homebrew/dupes
brew install homebrew/dupes/grep
#brew tap josegonzalez/homebrew-php
#brew install php54
# Install everything else
brew install git
brew install git-extras
2012-10-19 11:16:29 +00:00
brew install unrar
2012-10-12 14:53:55 +00:00
#brew install node
# Remove outdated versions from the cellar
brew cleanup