Skip to content
36 changes: 3 additions & 33 deletions docs/cli_installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,6 @@ You can download the latest Argo CD version from [the latest release page of thi
pacman -S argocd
```

### Homebrew

```bash
brew install argocd
```

### Download With Curl

#### Download latest version
Expand Down Expand Up @@ -51,30 +45,6 @@ rm argocd-linux-amd64
You should now be able to run `argocd` commands.


## Mac (M1)

### Download With Curl

You can view the latest version of Argo CD at the link above or run the following command to grab the version:

```bash
VERSION=$(curl --silent "https://api.github.com/repos/argoproj/argo-cd/releases/latest" | grep '"tag_name"' | sed -E 's/.*"([^"]+)".*/\1/')
```

Replace `VERSION` in the command below with the version of Argo CD you would like to download:

```bash
curl -sSL -o argocd-darwin-arm64 https://github.com/argoproj/argo-cd/releases/download/$VERSION/argocd-darwin-arm64
```

Install the Argo CD CLI binary:

```bash
sudo install -m 555 argocd-darwin-arm64 /usr/local/bin/argocd
rm argocd-darwin-arm64
```


## Mac

### Homebrew
Expand All @@ -94,14 +64,14 @@ VERSION=$(curl --silent "https://api.github.com/repos/argoproj/argo-cd/releases/
Replace `VERSION` in the command below with the version of Argo CD you would like to download:

```bash
curl -sSL -o argocd-darwin-amd64 https://github.com/argoproj/argo-cd/releases/download/$VERSION/argocd-darwin-amd64
curl -sSL -o argocd-darwin-arm64 https://github.com/argoproj/argo-cd/releases/download/$VERSION/argocd-darwin-arm64
```

Install the Argo CD CLI binary:

```bash
sudo install -m 555 argocd-darwin-amd64 /usr/local/bin/argocd
rm argocd-darwin-amd64
sudo install -m 555 argocd-darwin-arm64 /usr/local/bin/argocd
rm argocd-darwin-arm64
```

After finishing either of the instructions above, you should now be able to run `argocd` commands.
Expand Down
Loading