Skip to content

windows scoop install go cli

Rick Li edited this page Sep 2, 2018 · 1 revision

tutorial setx scoopApps "C:\Users\%username%\scoop\apps" /M echo %scoopApps% scoop install go =======Phase 3: Create the GOPATH environment variable=== setx GOPATH "%scoopApps%/go" /M echo %GOPATH% setx GOBIN "%GOPATH%/bin" /M echo %GOBIN% setx PATH "%PATH%;%GOBIN%" /M =======Phase 4: Test and ensure=== go get github.com/golang/example/hello %GOPATH%/bin/hello

Clone this wiki locally
You can’t perform that action at this time.