Use curl's -o to specify the output

This makes it easier to fix up the command by just prepending a `sudo` if something goes wrong.
This commit is contained in:
Andreas Kohn 2016-11-16 13:05:30 +01:00 committed by GitHub
parent 089d9100fd
commit f07aa9e026
1 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ which the release page specifies, in your terminal.
The following is an example command illustrating the format:
$ curl -L "https://github.com/docker/compose/releases/download/1.8.1/docker-compose-$(uname -s)-$(uname -m)" > /usr/local/bin/docker-compose
$ curl -L "https://github.com/docker/compose/releases/download/1.8.1/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
If you have problems installing with `curl`, see
[Alternative Install Options](install.md#alternative-install-options).