docs/development/setup-dapr-development-env.md
This document helps you get started developing Dapr. If you find any problems while following this guide, please create a Pull Request to update this document.
Install Git
On Windows, the Dapr build environment depends on Git BASH that comes as a part of Git for Windows.
Ensure that the Git and Unix tools are part of the
PATHenvironment variable, and that the editor experience is integrated with the Windows Terminal. For example, if installing Git with chocolatey, you may want to specify:cmdchoco install git -y --package-parameters="/GitAndUnixToolsOnPath /WindowsTerminal"
Install Docker
For Linux, you'll have to configure docker to run without
sudofor the dapr build scripts to work. Follow the instructions to manage Docker as a non-root user.
Create your Docker Hub account if you don't already have one.
Download and install Go 1.25.9 or later.
Install Delve for Go debugging, if desired.
Install golangci-lint version 2.4.0.
Follow the guide on how to set up a Kubernetes cluster for Dapr.
For development purposes, you will also want to follow the optional steps to install Helm 3.x.
Dapr uses make for a variety of build and test actions, and needs to be installed as appropriate for your platform:
Install the build-essential package:
sudo apt-get install build-essential
Ensure that build tools are installed:
xcode-select --install
When completed, you should see make and other command line developer tools in /usr/bin.
Install MinGW and make with Chocolatey:
choco install mingw
choco install make