3 This documentation is for advanced `gopls` users, who may want to test
4 unreleased versions or try out special features.
6 ## Installing unreleased versions
8 To get a specific version of `gopls` (for example, to test a prerelease
12 GO111MODULE=on go get golang.org/x/tools/gopls@vX.Y.Z
15 Where `vX.Y.Z` is the desired version.
19 To update `gopls` to the latest **unstable** version, use:
22 GO111MODULE=on go get golang.org/x/tools/gopls@master golang.org/x/tools@master
25 ## Working on the Go source distribution
27 If you are working on the [Go project] itself, the `go` command that `gopls`
28 invokes will have to correspond to the version of the source you are working
29 on. That is, if you have checked out the Go project to `$HOME/go`, your `go`
30 command should be the `$HOME/go/bin/go` executable that you built with
31 `make.bash` or equivalent.
33 You can achieve this by adding the right version of `go` to your `PATH`
34 (`export PATH=$HOME/go/bin:$PATH` on Unix systems) or by configuring your
37 [Go project]: https://go.googlesource.com/go