'mage' is not recognized as an internal or external command

From the error messages in your screenshot, it looks like you may be using an older version of Go, possibly version 1.6.

Please make sure the version of Go you have installed matches the version specified in .go-version.

go version

cd go/src/github.com/elastic/beats
cat .go-version

Both versions should currently be 1.13.7 for the master branch.

If you need to install a newer version of Go, I'd recommend using the gvm project to manage multiple versions of Go.

https://github.com/andrewkroh/gvm

Hi Michael, very appreciate for your patience. It works!!! Hope you have a great day!

That's great to hear things are working both on Linux & Windows!

Yeah! I was stuck here for a while. So excited it's working on both. It seems someone need to update the documentation based on your solution. Very clear and detailed.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.