From fced907a63725559b1815e6858463994293aa7c7 Mon Sep 17 00:00:00 2001 From: Brendan Shanks Date: Fri, 10 May 2024 08:39:17 -0700 Subject: [PATCH] docs/Installation: Use the documented --strip-components tar argument `--strip-components` is the documented tar option, `--strip` only works because tar (both BSD and GNU) does partial matching on long options. --- docs/Installation.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/Installation.md b/docs/Installation.md index 19018cf9d1..a3e48f1762 100644 --- a/docs/Installation.md +++ b/docs/Installation.md @@ -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!** ```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: