add instructions for using setx

Tristan 2018-09-24 11:35:37 +08:00
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).