Skip to content

Commit fc423c4

Browse files
author
Stephen Gutekanst
authored
README: properly follow redirects in download curl commands
1 parent 1af97e4 commit fc423c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@ Currently, the `src` CLI only provides access to Sourcegraph's GraphQL API. It l
1919
### Mac OS:
2020

2121
```bash
22-
curl https://github.com/sourcegraph/src-cli/releases/download/latest/src_darwin_amd64 -o /usr/local/bin/src
22+
curl -L https://github.com/sourcegraph/src-cli/releases/download/latest/src_darwin_amd64 -o /usr/local/bin/src
2323
chmod +x /usr/local/bin/src
2424
```
2525

2626
### Linux:
2727

2828
```bash
29-
curl https://github.com/sourcegraph/src-cli/releases/download/latest/src_linux_amd64 -o /usr/local/bin/src
29+
curl -L https://github.com/sourcegraph/src-cli/releases/download/latest/src_linux_amd64 -o /usr/local/bin/src
3030
chmod +x /usr/local/bin/src
3131
```
3232

0 commit comments

Comments
 (0)