Adding Packages to Go

I tried adding a path to Git, by adding Git as a system variable, but instead of allowing me to add packages, the shell says that go isn’t recognized.

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.
At line:1 char:1
+ go run main.go
+ ~~
    + CategoryInfo          : ObjectNotFound: (go:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

What do you mean by “adding git as a system variable”?

Can you please do echo $PATH?

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