Find file History
mvdan doc: mention 'go get golang.org/dl/...' in install
I needed Go 1.10 to debug and fix a test failure on that Go version in
x/tools, but I forgot what the magic 'go get' command for this was.

Googling "download specific golang version" and similar keywords showed
no results, presumably because the golang.org/dl subrepo isn't
prominently recommended nor documented anywhere.

The most appropriate documentation page to add this to is doc/install,
since it goes into some detail and is well indexed. We only need a short
section to introduce the trick.

The example does mention a specific version, Go 1.10.7, but I couldn't
imagine a way to make it version-agnostic while still being clear on
what the commands effectively do.

Change-Id: I13158564d76d95caec412cdb35a50a4356df5863
Reviewed-on: https://go-review.googlesource.com/c/157457
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Rob Pike <r@golang.org>
Latest commit 4edea0f Jan 11, 2019
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
articles doc/articles/wiki: highlight the use of _ warning Feb 14, 2018
codewalk all: make copyright headers consistent with one space after period May 2, 2016
devel doc: document Go 1.11.4 Dec 14, 2018
gopher doc/gopher: add model sheet Jul 18, 2018
play doc/play: update URL for concurrent pi Jan 6, 2016
progs doc: improve the interface example in Effective Go Nov 26, 2018
asm.html cmd/asm: rename R18 to R18_PLATFORM on ARM64 Nov 6, 2018
cmd.html doc: website: changed link for cover Jun 18, 2017
code.html doc/code: drop mentions of GOPATH/pkg directory Aug 17, 2018
conduct.html doc: update Code of Conduct May 23, 2018
contrib.html doc: add go1.11 to contrib.html Sep 28, 2018
contribute.html doc: 2019 is the Year of the Gopher Jan 1, 2019
debugging_with_gdb.html doc: remove "known bug" about global variables in debug_info. Sep 28, 2018
diagnostics.html doc: document GODEBUG options to disable use of instruction set exten… Dec 18, 2018
docs.html doc: update docs.html with new tour import path Oct 20, 2018
editors.html doc: fix spelling of `comp[]hensive` to `comp[r]ehensive` Oct 12, 2018
effective_go.html doc: remove incorrect space in %T and %v output examples Jan 7, 2019
gccgo_contribute.html doc: use HTTPS for links Jun 13, 2018
gccgo_install.html doc: use HTTPS for links Jun 13, 2018
go-logo-black.png doc: pngcrush and remove old, unused images Mar 8, 2012
go-logo-blue.png doc: pngcrush and remove old, unused images Mar 8, 2012
go-logo-white.png doc: pngcrush and remove old, unused images Mar 8, 2012
go1.1.html doc: s/tool chain/toolchain/ Jan 9, 2018
go1.10.html doc: correct statement in go1.10 release notes Apr 23, 2018
go1.11.html doc/go1.11: add note about go run supporting for go run pkg or go run . Dec 5, 2018
go1.12.html doc/go1.12.html: document rejection of mangled C names Jan 21, 2019
go1.2.html doc: use HTTPS for links Jun 13, 2018
go1.3.html doc: s/tool chain/toolchain/ Jan 9, 2018
go1.4.html doc: use HTTPS for links Jun 13, 2018
go1.5.html doc: mention that go install removes binaries built by go build Sep 8, 2015
go1.6.html doc: use HTTPS for clang.llvm.org link in go1.6.html Jun 12, 2018
go1.7.html doc: use HTTPS for man.openbsd.org link in go1.7.html Jun 12, 2018
go1.8.html doc: fix broken link in go1.8.html Feb 22, 2017
go1.9.html doc/1.9: add mention of net/http.LocalAddrContextKey Aug 28, 2017
go1.html doc: change anchor URLs from golang.org/dl/ to /dl/ Jan 20, 2018
go1compat.html doc: s/tool chain/toolchain/ Jan 9, 2018
go_faq.html doc: fix typo in FAQ Nov 28, 2018
go_mem.html doc: go_mem: clarify Once docs Dec 21, 2018
go_spec.html doc/go_spec: tweak wording to avoid 'explicit assignment' misreading Nov 16, 2018
help.html doc: add link to the Go Discord forum Oct 11, 2018
ie.css golang.org redesign Sep 16, 2010
install-source.html doc: add GOMIPS64 to source installation docs Sep 5, 2018
install.html doc: mention 'go get golang.org/dl/...' in install Jan 23, 2019
root.html doc: update "Mac OS X", "OS X" to macOS; bump up to 10.10 Jun 19, 2018
security.html doc: use https scheme in oss-distros link Dec 11, 2018
share.png godoc: change link styles, add 'pop out' button Mar 13, 2012
tos.html doc: drop scheme from links that are known to support HTTPS Jul 25, 2014