diff --git a/doc/install.html b/doc/install.html index e9f0f0dc09..6baf2b53c8 100644 --- a/doc/install.html +++ b/doc/install.html @@ -220,19 +220,29 @@ and building a simple program, as follows.

Create a directory to contain your workspace, -$HOME/work for example, and set the GOPATH environment +$HOME/work + +for example, and set the GOPATH environment variable to point to that location.

-
+
 $ export GOPATH=$HOME/work
 
+ +

+ You should put the above command in your shell startup script -($HOME/.profile for example) or, if you use Windows, -follow the instructions above to set the +($HOME/.profile for example). + + +On Windows, follow the instructions above to set the GOPATH environment variable on your system. +

@@ -256,21 +266,30 @@ func main() { Then compile it with the go tool:

-
+
 $ go install github.com/user/hello
 
+ +

-The above command will put an executable command named hello +The command above will put an executable command named hello (or hello.exe) inside the bin directory of your workspace. Execute the command to see the greeting:

-
+
 $ $GOPATH/bin/hello
 hello, world
 
+ +

If you see the "hello, world" message then your Go installation is working.