Skip to content

Commit

Permalink
Add curl example commands
Browse files Browse the repository at this point in the history
  • Loading branch information
simonrw committed Sep 18, 2023
1 parent 2cf16f3 commit 095e586
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions content/en/getting-started/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,23 @@ You can download the respective binary for your architecture directly:<br>
{{< cli-binary-download os="linux" >}}
</p>
<p>
or use this <code>curl</code> command:
</p>
<p>
For <i>amd64</i>:
{{< command >}}
$ curl -Lo ~/Downloads/localstack-cli-{{< localstack-latest-version >}}-linux-amd64-onefile.tar.gz \
https://github.com/localstack/localstack-cli/releases/download/v{{< localstack-latest-version >}}/localstack-cli-{{< localstack-latest-version >}}-linux-amd64-onefile.tar.gz
{{< / command >}}
</p>
<p>
Or <i>arm64</i>:
{{< command >}}
$ curl -Lo ~/Downloads/localstack-cli-{{< localstack-latest-version >}}-linux-arm64-onefile.tar.gz \
https://github.com/localstack/localstack-cli/releases/download/v{{< localstack-latest-version >}}/localstack-cli-{{< localstack-latest-version >}}-linux-arm64-onefile.tar.gz
{{< / command >}}
</p>
<p>
Then extract the LocalStack CLI from the terminal:
{{< command >}}
$ sudo tar xvzf ~/Downloads/localstack-cli-{{< localstack-latest-version >}}-linux-*-onefile.tar.gz -C /usr/local/bin
Expand Down

0 comments on commit 095e586

Please sign in to comment.