diff --git a/doc/install-source.html b/doc/install-source.html index eae75e0bda..3181cd7c9f 100644 --- a/doc/install-source.html +++ b/doc/install-source.html @@ -220,6 +220,36 @@ The document How to Write Go Code explains how to set up a work environment in which to build and test Go code.

+

Install additional tools

+ +

+The source code for seeral Go tools (including godoc) +is kept in the go.tools repository. +To install all of them, run the go get command: +

+ +
+$ go get code.google.com/p/go.tools/cmd/...
+
+ +

+Or if you just want to install a specific command (godoc in this case): +

+ +
+$ go get code.google.com/p/go.tools/cmd/godoc
+
+ +

+To install these tools, the go get command requires +that Mercurial be installed locally. +

+ +

+You must also have a workspace (GOPATH) set up; +see How to Write Go Code for the details. +

+

Community resources