Skip to content

Commit

Permalink
Merge pull request #47 from Ensono/fix/installation_documentation
Browse files Browse the repository at this point in the history
Update installation.adoc to allow redirects when using 'curl'
  • Loading branch information
james-horrocks authored Sep 19, 2024
2 parents 1e95009 + 6e8566d commit 4729624
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/usage/installation.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ As the CLI is a single binary the quickest way to install it is to download it a
----
# Download the binary to a location in the PATH
## Mac OS
curl https://github.com/Ensono/stacks-cli/releases/download/v{stackscli_version}/stacks-cli-darwin-amd64-{stackscli_version} -o /usr/local/bin/stacks-cli
curl -L https://github.com/Ensono/stacks-cli/releases/download/v{stackscli_version}/stacks-cli-darwin-amd64-{stackscli_version} -o /usr/local/bin/stacks-cli
## Linux
curl https://github.com/Ensono/stacks-cli/releases/download/v{stackscli_version}/stacks-cli-linux-amd64-{stackscli_version} -o /usr/local/bin/stacks-cli
curl -L https://github.com/Ensono/stacks-cli/releases/download/v{stackscli_version}/stacks-cli-linux-amd64-{stackscli_version} -o /usr/local/bin/stacks-cli
## Ensure that the command is executable
chmod +x /usr/local/bin/stacks-cli
Expand All @@ -26,4 +26,4 @@ The following PowerShell snippet will download the application to the user's Dow
----
# Download the binary
Invoke-RestMethod -Uri https://github.com/Ensono/stacks-cli/releases/download/v{stackscli_version}/stacks-cli-windows-amd64-{stackscli_version}.exe -OutFile $env:USERPROFILE\Downloads\stacks-cli.exe
----
----

0 comments on commit 4729624

Please sign in to comment.