Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
x/website: install instructions for macOS/Windows target .pkg/.msi downloads, but are not applicable for .tar.gz/.zip archives #41441
If I visit this URL: https://golang.org/doc/install?download=go1.15.2.darwin-amd64.tar.gz
I see instructions that read:
This is incorrect for the tar.gz file, which when clicked on creates a "go" directory in the same parent directory as wherever the tarball was downloaded (usually
We should probably instead instruct people to move the
Thanks for reporting. This seems to also apply to Windows. It's possible to select a zip (e.g., go1.15.2.windows-amd64.zip) at https://golang.org/dl/, but the https://golang.org/doc/install#install section on the redirected page begins with "Open the MSI file you downloaded ...".
It seems that the zip/tar.gz files are not taken into account on that page at this time.
I'm happy to take a stab at fixing this, but note it is difficult to view/test changes locally because I get redirected from localhost:6060/doc/install to golang.org/dl.
I have a CL that makes it possible to view this page locally, which would make it easier to change. https://go-review.googlesource.com/c/website/+/254538