Can I play with go1.18 beta while keeping my stable 1.17 version around for production code?

126 views
Skip to first unread message

Travis Keep

unread,
Dec 15, 2021, 12:03:20 PM12/15/21
to golang-nuts
This may be silly question, but is there a way for me to download and play with 1.18 while keeping my existing 1.17 installation for production code?  Is there a way to have multiple versions of go installed on the same computer?

Bruno Albuquerque

unread,
Dec 15, 2021, 12:21:49 PM12/15/21
to Travis Keep, golang-nuts
Yes, see instructions on how to download/install go1.18beta1. It explicitly suggests a way that will allow this.


On Wed, Dec 15, 2021 at 9:03 AM Travis Keep <kee...@gmail.com> wrote:
This may be silly question, but is there a way for me to download and play with 1.18 while keeping my existing 1.17 installation for production code?  Is there a way to have multiple versions of go installed on the same computer?

--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/d4b079cb-4830-4103-8267-7787294af8b2n%40googlegroups.com.

Brian Hatfield

unread,
Dec 15, 2021, 12:23:36 PM12/15/21
to Travis Keep, golang-nuts
Yes! If you see the release email, there's some steps included:

If you have Go installed already, the easiest way to try go1.18beta1
is by using the go command:
$ go install golang.org/dl/go1.18beta1@latest
$ go1.18beta1 download

On Wed, Dec 15, 2021 at 12:03 PM Travis Keep <kee...@gmail.com> wrote:
This may be silly question, but is there a way for me to download and play with 1.18 while keeping my existing 1.17 installation for production code?  Is there a way to have multiple versions of go installed on the same computer?

fge...@gmail.com

unread,
Dec 16, 2021, 2:12:16 AM12/16/21
to Travis Keep, golang-nuts
Reply all
Reply to author
Forward
0 new messages