Build debian package in windows OS

I cannot build grafana from source using the following command:
go run build.go build pkg-deb
I replaced the “/” to be “\” in “build.go” file to fix mkdir command issue but the error still exists:

mkdir -p C:\Users\Ayatullah\AppData\Local\Temp\grafana-linux-pack129629587\usr\share\grafana
exec: “mkdir”: executable file not found in %PATH%
exit status 1

You cannot build Debian packages on Windows (or Windows packages on Debian). Is that what you want to do?

To just build from source to get Grafana running locally on Windows, follow these instructions (there are a couple of sections describing the extra steps and tools needed to build on Windows):