国内网络问题按dapr官方的指导无法完成安装,只能通过下载安装包的方式进行离线安装,步骤:
- __
- ____/ /___ _____ _____
- / __ / __ '/ __ \/ ___/
- / /_/ / /_/ / /_/ / /
- \__,_/\__,_/ .___/_/
- /_/
-
- ===============================
- Distributed Application Runtime
-
- Usage:
- dapr [command]
-
- Available Commands:
- completion Generates shell completion scripts
- components List all Dapr components. Supported platforms: Kubernetes
- configurations List all Dapr configurations. Supported platforms: Kubernetes
- dashboard Start Dapr dashboard. Supported platforms: Kubernetes and self-hosted
- help Help about any command
- init Install Dapr on supported hosting platforms. Supported platforms: Kubernetes and self-hosted
- invoke Invoke a method on a given Dapr application. Supported platforms: Self-hosted
- list List all Dapr instances. Supported platforms: Kubernetes and self-hosted
- logs Get Dapr sidecar logs for an application. Supported platforms: Kubernetes
- mtls Check if mTLS is enabled. Supported platforms: Kubernetes
- publish Publish a pub-sub event. Supported platforms: Self-hosted
- run Run Dapr and (optionally) your application side by side. Supported platforms: Self-hosted
- status Show the health status of Dapr services. Supported platforms: Kubernetes
- stop Stop Dapr instances and their associated apps. . Supported platforms: Self-hosted
- uninstall Uninstall Dapr runtime. Supported platforms: Kubernetes and self-hosted
- upgrade Upgrades a Dapr control plane installation in a cluster. Supported platforms: Kubernetes
-
- Flags:
- -h, --help help for dapr
- -v, --version version for dapr
-
- Use "dapr [command] --help" for more information about a command.

- CLI version: 1.8.1
- Runtime version: 1.8.4

官方线离安装文档:
How-To: Run Dapr in an offline or airgap environment | Dapr Docs