mirror of https://github.com/dapr/docs.git
Merge pull request #1935 from willtsai/arm64mac-cli-install
Add instructions for ARM64 Mac support
This commit is contained in:
commit
982dd34555
|
@ -48,6 +48,11 @@ This command installs the latest darwin Dapr CLI to `/usr/local/bin`:
|
|||
```bash
|
||||
curl -fsSL https://raw.githubusercontent.com/dapr/cli/master/install/install.sh | /bin/bash
|
||||
```
|
||||
#### Note for ARM64 Macs
|
||||
Support for ARM64 Macs is available as a Preview feature. When installing from the terminal, native ARM64 binaries are downloaded when available. For older releases, AMD64 binaries are downloaded, which must be run with Rosetta2 emulation enabled. To install Rosetta emulation:
|
||||
```bash
|
||||
softwareupdate --install-rosetta
|
||||
```
|
||||
|
||||
### Install from Homebrew
|
||||
You can install via [Homebrew](https://brew.sh):
|
||||
|
@ -55,11 +60,11 @@ You can install via [Homebrew](https://brew.sh):
|
|||
brew install dapr/tap/dapr-cli
|
||||
```
|
||||
|
||||
#### Note for M1 Macs
|
||||
For M1 Macs, homebrew is not supported. You will need to use the dapr install script and have the rosetta amd64 compatibility layer installed. If you do not have it installed already, you can run the following:
|
||||
#### Note for ARM64 Macs
|
||||
For ARM64 Macs, only Homebrew 3.0 and higher versions are supported. Please update Homebrew to 3.0.0 or higher and then run the command below:
|
||||
|
||||
```bash
|
||||
softwareupdate --install-rosetta
|
||||
arch -arm64 brew install dapr/tap/dapr-cli
|
||||
```
|
||||
|
||||
### Install without `sudo`
|
||||
|
@ -132,4 +137,4 @@ Flags:
|
|||
Use "dapr [command] --help" for more information about a command.
|
||||
```
|
||||
|
||||
{{< button text="Next step: Initialize Dapr >>" page="install-dapr-selfhost" >}}
|
||||
{{< button text="Next step: Initialize Dapr >>" page="install-dapr-selfhost" >}}
|
|
@ -16,3 +16,4 @@ Preview features in Dapr are considered experimental when they are first release
|
|||
| **gRPC proxying** | Enables calling endpoints using service invocation on gRPC services through Dapr via gRPC proxying, without requiring the use of Dapr SDKs. | `proxy.grpc` | [How-To: Invoke services using gRPC]({{<ref howto-invoke-services-grpc>}}) |
|
||||
| **State store encryption** | Enables automatic client side encryption for state stores | `State.Encryption` | [How-To: Encrypt application state]({{<ref howto-encrypt-state>}}) |
|
||||
| **Pub/Sub routing** | Allow the use of expressions to route cloud events to different URIs/paths and event handlers in your application. | `PubSub.Routing` | [How-To: Publish a message and subscribe to a topic]({{<ref howto-route-messages>}}) |
|
||||
| **ARM64 Mac Support** | Dapr CLI, sidecar, and Dashboard are now natively compiled for ARM64 Macs, along with Dapr CLI installation via Homebrew. | N/A | [Install the Dapr CLI]({{<ref install-dapr-cli>}}) |
|
Loading…
Reference in New Issue