EDIT: updated for the Dapr 1.12 release :)
I've recently upgraded my local Dapr runtime and the Dapr CLI due to the new 1.12 release being available. Since I'll be upgrading to new releases on a regular basis, and use both Mac and a Windows machines, I might as well help my future self and write this down since I forget these things after a week π .
Upgrading the self-hosted environment (which I call the runtime) is described in detail in the official docs, but here I'm writing a slimmed down version, useful if you're either running Windows with winget, or macOS with Homebrew.
-
Uninstall the old Dapr runtime:
dapr uninstall
If you also want to remove the Redis and Zipkin images run:
dapr uninstall --all
-
Install the new Dapr runtime:
dapr init
-
Upgrade the Dapr CLI:
Using Windows and winget:
winget upgrade Dapr.CLI
Using macOS and brew:
brew upgrade dapr-cli
-
Verify that everything is upgraded:
dapr -v
The response should list the new versions:
CLI version: 1.12.0 Runtime version: 1.12.0
`
π¨ Bleeding edge π¨
If you need the very latest, (bleeding) edge bits of Dapr, you can:
Pull the runtime images from the Dapr GitHub container registry.
Download the Dapr CLI release candidates from the Dapr CLI GitHub release page.
Top comments (0)