Merge pull request #17271 from mrpippy/patch-1

docs/Installation: Use the documented --strip-components tar argument
This commit is contained in:
Mike McQuaid 2024-05-10 16:56:13 +01:00 committed by GitHub
commit c4b7621585
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -61,7 +61,7 @@ Technically, you can just extract (or `git clone`) Homebrew wherever you want. H
**TL;DR: pick another prefix at your peril!** **TL;DR: pick another prefix at your peril!**
```sh ```sh
mkdir homebrew && curl -L https://github.com/Homebrew/brew/tarball/master | tar xz --strip 1 -C homebrew mkdir homebrew && curl -L https://github.com/Homebrew/brew/tarball/master | tar xz --strip-components 1 -C homebrew
``` ```
or: or: