Skip to content

Instantly share code, notes, and snippets.

@sambao21
Created September 14, 2013 03:56
Show Gist options
  • Save sambao21/6558701 to your computer and use it in GitHub Desktop.
Save sambao21/6558701 to your computer and use it in GitHub Desktop.
manually install brew and cask
Sams-MacBook-Pro in /usr/local
○ → ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"
==> This script will install:
/usr/local/bin/brew
/usr/local/Library/...
/usr/local/share/man/man1/brew.1
Press ENTER to continue or any other key to abort
==> Downloading and Installing Homebrew...
remote: Finding bitmap roots...
remote: Counting objects: 127762, done.
remote: Compressing objects: 100% (39184/39184), done.
remote: Total 127762 (delta 88071), reused 127238 (delta 87565)
Receiving objects: 100% (127762/127762), 28.66 MiB | 1.27 MiB/s, done.
Resolving deltas: 100% (88071/88071), done.
From https://github.com/mxcl/homebrew
* [new branch] master -> origin/master
Checking out files: 100% (2825/2825), done.
HEAD is now at 2103007 Stop exposing the download strategy from Formula
==> Installation successful!
You should run `brew doctor' *before* you install anything.
Now type: brew help
Sams-MacBook-Pro in /usr/local
± |master ✓| → brew tap phinze/homebrew-cask
Cloning into '/usr/local/Library/Taps/phinze-cask'...
remote: Counting objects: 8250, done.
remote: Compressing objects: 100% (5388/5388), done.
remote: Total 8250 (delta 3987), reused 7040 (delta 2838)
Receiving objects: 100% (8250/8250), 5.50 MiB | 1.57 MiB/s, done.
Resolving deltas: 100% (3987/3987), done.
Tapped 1 formula
Sams-MacBook-Pro in /usr/local
± |master ✓| → ll
total 72
drwxr-xr-x 12 sambao21 staff 408 Sep 13 22:43 .
drwxr-xr-x@ 13 root wheel 442 Sep 13 21:55 ..
drwxr-xr-x 13 sambao21 staff 442 Sep 13 22:43 .git
-rw-r--r-- 1 sambao21 staff 213 Sep 13 22:42 .gitignore
-rw-r--r-- 1 sambao21 staff 493 Sep 13 22:42 CONTRIBUTING.md
drwxr-xr-x 9 sambao21 staff 306 Sep 13 22:43 Library
-rw-r--r-- 1 sambao21 staff 928 Sep 13 22:43 README.md
-rw-r--r-- 1 sambao21 staff 23382 Sep 13 22:43 SUPPORTERS.md
drwxr-xr-x 3 sambao21 staff 102 Sep 13 22:43 bin
drwxr-xr-x 3 sambao21 staff 102 Sep 13 22:35 lib
drwxr-xr-x 3 sambao21 staff 102 Sep 13 22:28 opt
drwxr-xr-x 3 sambao21 staff 102 Sep 13 22:35 share
Sams-MacBook-Pro in /usr/local
± |master ✓| → brew install brew-cask
==> Cloning https://github.com/phinze/homebrew-cask.git
Updating /Library/Caches/Homebrew/brew-cask--git
==> Checking out tag v0.16.0
🍺 /usr/local/Cellar/brew-cask/0.16.0: 562 files, 2.2M, built in 2 seconds
Sams-MacBook-Pro in /usr/local
± |master ✓| → brew cask install google-chrome
==> We need to make Caskroom for the first time at /opt/homebrew-cask/Caskroom
==> We'll set permissions properly so we won't need sudo in the future
Password:
==> Downloading https://dl.google.com/chrome/mac/stable/GGRO/googlechrome.dmg
######################################################################## 100.0%
==> Success! google-chrome installed to /opt/homebrew-cask/Caskroom/google-chrom
==> Linking Google Chrome.app to /Users/sambao21/Applications/Google Chrome.app
Sams-MacBook-Pro in /usr/local
± |master ✓| → brew cask uninstall google-chrome
==> Removing link: /Users/sambao21/Applications/Google Chrome.app
Sams-MacBook-Pro in /usr/local
± |master ✓| → brew cask install --appdir="/Applications" simple-comic
==> Downloading http://dancingtortoisedownload.s3.amazonaws.com/SimpleComic_1.7_
Already downloaded: /Library/Caches/Homebrew/simple-comic-1.7.252.zip
caution: excluded filename not matched: __MACOSX/*
==> Success! simple-comic installed to /opt/homebrew-cask/Caskroom/simple-comic/
==> Linking Simple Comic.app to /Applications/Simple Comic.app
Sams-MacBook-Pro in /opt
○ → ll
total 0
drwxr-xr-x 3 root wheel 102 Sep 13 22:44 .
drwxr-xr-x 30 root wheel 1088 Sep 13 21:57 ..
drwxr-xr-x 3 sambao21 staff 102 Sep 13 22:44 homebrew-cask
Sams-MacBook-Pro in /opt
○ → cd homebrew-cask/
Sams-MacBook-Pro in /opt/homebrew-cask
○ → ll
total 0
drwxr-xr-x 3 sambao21 staff 102 Sep 13 22:44 .
drwxr-xr-x 3 root wheel 102 Sep 13 22:44 ..
drwxr-xr-x 4 sambao21 staff 136 Sep 13 22:45 Caskroom
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment