mirror of
https://github.com/golang/go.git
synced 2025-05-05 15:43:04 +00:00
add instructions for using setx
parent
94dc4cce04
commit
b20f126642
@ -67,4 +67,9 @@ __NOTE:__ `GOPATH` must not be the same path as your Go installation.
|
||||
There is a faster way to edit `Environment Variables` via search:
|
||||
* Left click on "Search" and type `env` or `environment`.
|
||||
* Select "Edit environment variables for your account".
|
||||
* ... and follow steps above.
|
||||
* ... and follow steps above.
|
||||
|
||||
## Windows 10 (cli version)
|
||||
* Open a command prompt (windows-key + r then type "cmd") or a powershell window (windows-key + i)
|
||||
* Type `setx %USERPROFILE%\go`
|
||||
* Close the command or powershell window (the environment variable is only available for new command or powershell windows, not for the current window).
|
Loading…
x
Reference in New Issue
Block a user