Skip to content

Commit

Permalink
docs: install with brew (#3714)
Browse files Browse the repository at this point in the history
Signed-off-by: zirain <zirain2009@gmail.com>
  • Loading branch information
zirain authored Jul 2, 2024
1 parent 9a2a7f6 commit d8f3d77
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions site/content/en/latest/install/install-egctl.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ This task shows how to install the egctl CLI. egctl can be installed either from

The Envoy Gateway project provides two ways to fetch and install egctl. These are the official methods to get egctl releases. Installation through those methods can be found below the official methods.

### From the Binary Releases
{{< tabpane text=true >}}
{{% tab header="From the Binary Releases" %}}

Every [release](https://github.com/envoyproxy/gateway/releases) of egctl provides binary releases for a variety of OSes. These binary versions can be manually downloaded and installed.

Expand All @@ -26,7 +27,8 @@ Every [release](https://github.com/envoyproxy/gateway/releases) of egctl provide

From there, you should be able to run: `egctl help`.

### From Script
{{% /tab %}}
{{% tab header="From Script" %}}

`egctl` now has an installer script that will automatically grab the latest release version of egctl and install it locally.

Expand All @@ -50,6 +52,19 @@ Yes, you can just use the below command if you want to live on the edge.
curl -fsSL https://gateway.envoyproxy.io/get-egctl.sh | VERSION=latest bash
```

{{% /tab %}}

{{% tab header="From Homebrew" %}}

You can also install egctl using homebrew:

```shell
brew install egctl
```

{{% /tab %}}
{{< /tabpane >}}

{{% alert title="Next Steps" color="warning" %}}

You can refer to the [Use egctl task](../tasks/operations/egctl) for more details about egctl.
Expand Down

0 comments on commit d8f3d77

Please sign in to comment.