Skip to content

Commit 5bd73fa

Browse files
authored
docs: improve binary download command for linux setup (#1068)
- Make archive download silent - Do not extract docs or LICENSE - Do not preserve the owner of the file in the archive
1 parent 44d716a commit 5bd73fa

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/tutorials/setup-hcloud-cli.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ Install them by extracting the archive and moving the binary to a directory in y
1818
On a 64-bit Linux system, it could look something like this:
1919

2020
```bash
21-
curl -LO https://github.com/hetznercloud/cli/releases/download/v1.51.0/hcloud-linux-amd64.tar.gz
22-
sudo tar -C /usr/local/bin -xzf hcloud-linux-amd64.tar.gz
21+
curl -sSLO https://github.com/hetznercloud/cli/releases/download/v1.51.0/hcloud-linux-amd64.tar.gz
22+
sudo tar -C /usr/local/bin --no-same-owner -xzf hcloud-linux-amd64.tar.gz hcloud
2323
rm hcloud-linux-amd64.tar.gz
2424
```
2525

0 commit comments

Comments
 (0)