From the course: Complete Guide to Dapr for .NET and Azure Developers: Building and Managing Microservices
Upgrading the Dapr CLI and runtime
From the course: Complete Guide to Dapr for .NET and Azure Developers: Building and Managing Microservices
Upgrading the Dapr CLI and runtime
- [Instructor] In the second half of the course, I'll take some time to upgrade Dapr and the Wisdom Pet Medicine solution to the latest versions. So let's go ahead and open up a Windows terminal and then let's type Dapr uninstall and let's pass all to uninstall everything. The containers, the binaries, even the home folder will be deleted. You can see that this process is quite fast, but this process won't delete this folder. So let's go ahead and remove it. Let's force the deletion and now we're ready to reinstall dapr. So let's open up the browser and we're going to navigate to the dapr documentation and find "Install the Dapr CLI". And then we can go ahead and select Windows and copy this PowerShell command. So let's go back to the Windows terminal. Let's paste it, take into account that this command needs elevated permissions, which I have right now. And this process starts and you can see that this is quite fast. And now we're ready to initialize Dapr once again. So let's type dapr init. And this is going to pull the latest versions of the container images. And you can also see that at the time of this recording, the latest version of the runtime is 15.9, and this is completed. Let's navigate to home and then .dapr and we can see that we have those binaries back in place. You can also verify the version of the CLI. Let's go back to the root folder and then dapr version. And in this case, I'm using this version that is on the screen. Okay, upgrading the dapr CLI and runtime is just the first step. Let's now upgrade the dapr projects in the next video.