From fc423c4e080f204c336e00932b6a4a49eb51014c Mon Sep 17 00:00:00 2001 From: Stephen Gutekanst Date: Tue, 8 May 2018 15:03:41 -0700 Subject: [PATCH] README: properly follow redirects in download curl commands --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d06b56b50b..7235eed554 100644 --- a/README.md +++ b/README.md @@ -19,14 +19,14 @@ Currently, the `src` CLI only provides access to Sourcegraph's GraphQL API. It l ### Mac OS: ```bash -curl https://github.com/sourcegraph/src-cli/releases/download/latest/src_darwin_amd64 -o /usr/local/bin/src +curl -L https://github.com/sourcegraph/src-cli/releases/download/latest/src_darwin_amd64 -o /usr/local/bin/src chmod +x /usr/local/bin/src ``` ### Linux: ```bash -curl https://github.com/sourcegraph/src-cli/releases/download/latest/src_linux_amd64 -o /usr/local/bin/src +curl -L https://github.com/sourcegraph/src-cli/releases/download/latest/src_linux_amd64 -o /usr/local/bin/src chmod +x /usr/local/bin/src ```