Problem with installation

I follow the instruction on website and uses the msi to have c:/go in my computer. However when I try to use it in command line it says the following on the picture. I’ve checked the environmental variable and everything seems fine.
and lat time I use the suggestion on the command line I get a go version of linux (I use windows) which is really wired.
Need help!!! please!!!
Thanks

Hi, @Weixin_Feng, you seem to be running bash in the Windows Subsystem for Linux. As far as I am aware, you cannot run Windows programs in that environment, so the version of Go you installed is not available from that interface. You could:

  • Use PowerShell or the Command Prompt instead of WSL to run the version of Go you installed from the MSI

or

  • Install Go in the Linux distribution you’re running in WSL.
1 Like

that works!
Thanks!!!

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