See https://discourse.gohugo.io/t/gcc-compiler-required-to-build-hugo-from-source-on-windows/41370
I used that last week on a virgin Windows 11 system. Install Git, install Go, then the compiler.
go install -tags extended github.com/gohugoio/hugo@latest
No problems.