diff options
| author | Max Howell | 2010-06-17 12:39:01 +0100 |
|---|---|---|
| committer | Max Howell | 2010-06-17 12:39:01 +0100 |
| commit | 1d81d6b39302bc968397835da34db98ad0fb2200 (patch) | |
| tree | 3faf39c6ab2bd7e1b161246101b25245e663a349 | |
| parent | aa46db87a7d460d9167810fdd66bfda117b8faab (diff) | |
| download | brew-1d81d6b39302bc968397835da34db98ad0fb2200.tar.bz2 | |
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.
| -rw-r--r-- | README.md | 19 |
1 files changed, 10 insertions, 9 deletions
@@ -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 |
