From 3c4e7c357287f8044498c6a6dded967068202e3c Mon Sep 17 00:00:00 2001 From: Bernd Verst Date: Fri, 10 Feb 2023 13:02:56 -0800 Subject: [PATCH] Add mac instructions Signed-off-by: Bernd Verst --- .../en/getting-started/install-dapr-cli.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/daprdocs/content/en/getting-started/install-dapr-cli.md b/daprdocs/content/en/getting-started/install-dapr-cli.md index e92adde8a..840b8cb5b 100644 --- a/daprdocs/content/en/getting-started/install-dapr-cli.md +++ b/daprdocs/content/en/getting-started/install-dapr-cli.md @@ -131,6 +131,14 @@ Install the latest Darwin Dapr CLI to `/usr/local/bin`: curl -fsSL https://raw.githubusercontent.com/dapr/cli/master/install/install.sh | /bin/bash ``` +##### Installing a specific CLI version + +This example shows how to install CLI version `1.9.1`. Release candidates can be installed similarly, simply specify the version, e.g. `1.10.0-rc.3`. + +```bash +curl -fsSL https://raw.githubusercontent.com/dapr/cli/master/install/install.sh | /bin/bash -s 1.9.1 +``` + **For ARM64 Macs:** When installing from the terminal, native ARM64 binaries are available. @@ -164,6 +172,14 @@ If you do not have access to the `sudo` command or your username is not in the ` curl -fsSL https://raw.githubusercontent.com/dapr/cli/master/install/install.sh | DAPR_INSTALL_DIR="$HOME/dapr" /bin/bash ``` +##### Installing a specific CLI version without `sudo` + +This example shows how to install CLI version `1.9.1`. Release candidates can be installed similarly, simply specify the version, e.g. `1.10.0-rc.3`. + +```bash +curl -fsSL https://raw.githubusercontent.com/dapr/cli/master/install/install.sh | DAPR_INSTALL_DIR="$HOME/dapr" -s 1.9.1 +``` + {{% /codetab %}} {{% codetab %}}