Skip to content

Commit

Permalink
Add brew install instruction for 2.20 docs.
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Hallgren <[email protected]>
  • Loading branch information
thallgren committed Oct 8, 2024
1 parent 9534423 commit c6b2b77
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 12 deletions.
21 changes: 15 additions & 6 deletions versioned_docs/version-2.20/install/client.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,22 +14,31 @@ Install the Telepresence client on your workstation by running the commands belo
<Platform.TabGroup>
<Platform.MacOSTab>

## Install with brew:
```shell
# Intel Macs
brew install telepresenceio/telepresence/telepresence-oss
```

## OR download the binary for your platform

# 1. Download the latest binary (~105 MB):
### Intel Macs

```shell
# 1. Download the binary.
sudo curl -fL https://app.getambassador.io/download/tel2oss/releases/download/$dlVersion$/telepresence-darwin-amd64 -o /usr/local/bin/telepresence

# 2. Make the binary executable:
sudo chmod a+x /usr/local/bin/telepresence
```

# Apple silicon Macs
### Apple silicon Macs

```shell
# 1. Ensure that no old binary exists. This is very important because Silicon macs track the executable's signature
# and just updating it in place will not work.
sudo rm -f /usr/local/bin/telepresence
# and just updating it in place will not work.
sudo curl -fL https://app.getambassador.io/download/tel2oss/releases/download/$dlVersion$/telepresence-darwin-amd64 -o /usr/local/bin/telepresence

# 2. Download the latest binary (~101 MB):
# 2. Download the binary.
sudo curl -fL https://app.getambassador.io/download/tel2oss/releases/download/$dlVersion$/telepresence-darwin-arm64 -o /usr/local/bin/telepresence

# 3. Make the binary executable:
Expand Down
33 changes: 27 additions & 6 deletions versioned_docs/version-2.20/install/upgrade.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,31 @@ if your current version is less than 2.8.0).
<Platform.TabGroup>
<Platform.MacOSTab>

## Upgrade with brew:
```shell
# Intel Macs
brew upgrade telepresenceio/telepresence/telepresence-oss
```

## OR upgrade by downloading the binary for your platform

### Intel Macs

# 1. Download the latest binary (~105 MB):
```shell
# 1. Download the binary.
sudo curl -fL https://app.getambassador.io/download/tel2oss/releases/download/$dlVersion$/telepresence-darwin-amd64 -o /usr/local/bin/telepresence

# 2. Make the binary executable:
sudo chmod a+x /usr/local/bin/telepresence
```

# Apple silicon Macs
### Apple silicon Macs

# 1. Remove the old binary. This is very important on Silicon macs, because they keep track of the binary signature
sudo rm /usr/local/bin/telepresence
```shell
# 1. Ensure that no old binary exists. This is very important because Silicon macs track the executable's signature
# and just updating it in place will not work.
sudo curl -fL https://app.getambassador.io/download/tel2oss/releases/download/$dlVersion$/telepresence-darwin-amd64 -o /usr/local/bin/telepresence

# 2. Download the latest binary (~101 MB):
# 2. Download the binary.
sudo curl -fL https://app.getambassador.io/download/tel2oss/releases/download/$dlVersion$/telepresence-darwin-arm64 -o /usr/local/bin/telepresence

# 3. Make the binary executable:
Expand All @@ -48,6 +58,17 @@ sudo curl -fL https://app.getambassador.io/download/tel2oss/releases/download/$d
sudo chmod a+x /usr/local/bin/telepresence
```

</Platform.MacOSTab>
<Platform.GNULinuxTab>

```shell
# 1. Download the latest binary (~95 MB):
sudo curl -fL https://app.getambassador.io/download/tel2oss/releases/download/$dlVersion$/telepresence-linux-amd64 -o /usr/local/bin/telepresence

# 2. Make the binary executable:
sudo chmod a+x /usr/local/bin/telepresence
```

</Platform.GNULinuxTab>
<Platform.WindowsTab>

Expand Down

0 comments on commit c6b2b77

Please sign in to comment.