Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Make it a sudo one-liner

Rationale: if you want complete control then you will most likely not like the `sudo chown -R` step as it's nuts.
  • Loading branch information...
commit 1fa6a8afc810770be792fa93a555004c31630dcc 1 parent 01d9f20
@mxcl mxcl authored
Showing with 10 additions and 9 deletions.
  1. +10 −9 README.md
View
19 README.md
@@ -5,8 +5,7 @@ Features and usage are [summarized on the homepage][homepage].
Quick Install to /usr/local
---------------------------
-[The script](http://gist.github.com/323731) will prompt for confirmation
-before it does anything:
+[This script][gist] will prompt for confirmation before it does anything:
ruby -e "$(curl -fsS http://gist.github.com/raw/436471/install_homebrew.rb)"
@@ -18,12 +17,12 @@ Umm… I thought I could install it anywhere?
Indeed, you can. Refer to our [complete installation instructions][install].
-Dude! Just give me a two-liner!
+Dude! Just give me a one-liner!
-------------------------------
-Alright then… as long as you know what you are doing:
+Okay then, but please note this installs Homebrew as root and
+[we recommend against that][sudo].
- sudo chown -R $USER /usr/local
- curl -Lsf http://github.com/mxcl/homebrew/tarball/master | tar xvz -C/usr/local --strip 1
+ curl -LsSf http://github.com/mxcl/homebrew/tarball/master | sudo tar xvz -C/usr/local --strip 1
More Documentation
@@ -36,8 +35,10 @@ Who Are You?
I'm [Max Howell][mxcl] and I'm a splendid chap.
-[wiki]:http://wiki.github.com/mxcl/homebrew
-[install]:http://wiki.github.com/mxcl/homebrew/installation
+[homepage]:http://mxcl.github.com/homebrew
+[gist]:http://gist.github.com/323731
[xcode]:http://developer.apple.com/technology/xcode.html
+[install]:http://wiki.github.com/mxcl/homebrew/installation
+[sudo]:http://wiki.github.com/mxcl/homebrew/installation#sudo
+[wiki]:http://wiki.github.com/mxcl/homebrew
[mxcl]:http://twitter.com/mxcl
-[homepage]:http://mxcl.github.com/homebrew
Please sign in to comment.
Something went wrong with that request. Please try again.