Go cmdlet for powershell

I installed Go on Windows and am trying to run it in Powershell and I keep getting that it isn’t recognized as a cmdlet. I am however able to execute it in CMD. Is it possible to run go out of Powershell?

I don’t have a problem running Go from PowerShell. What error are you getting?

go : The term ‘go’ is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct
and try again.

From cmd I get:

C:\Users\nicmoore>go version
go version go1.14.4 windows/amd64

I fixed it had to add it to my path.