Files
dotfiles/setup/brew.sh

37 lines
886 B
Bash
Raw Normal View History

2012-10-12 18:53:55 +04:00
#!/bin/bash
2012-10-23 12:47:00 +04:00
# Installs Homebrew with some formulaes
2012-10-12 18:53:55 +04:00
2012-10-19 15:54:20 +04:00
# Setup Homebrew
command -v brew >/dev/null 2>&1 || ruby -e "$(curl -fsSkL raw.github.com/mxcl/homebrew/go)"
2012-10-12 18:53:55 +04: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 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
2012-10-23 12:56:16 +04:00
# Install Git
2012-10-12 18:53:55 +04:00
brew install git
brew install git-extras
2012-10-23 12:56:16 +04:00
sudo bash < <( curl https://raw.github.com/jamiew/git-friendly/master/install.sh)
# Install everything else
2012-10-19 15:16:29 +04:00
brew install unrar
2012-10-23 12:47:00 +04:00
brew install node
2012-10-12 18:53:55 +04:00
# Remove outdated versions from the cellar
2012-10-23 12:47:00 +04:00
brew cleanup