Get latest go version number

I know current go version is 1.17.5 but, - go.dev says 1.17.4.

Is there any other solution for getting latest go version except using git fetch?

You can download the lastest version from Downloads - go.dev

Here is a JSON version of the Downloads page that gives you a list with a single item being the latest release. If you add &include=all at the end of the URL it will include previous and pre-releases.

2 Likes

Not sure if this is what you are looking for, but a few days ago I found out about the project below, and it worked great to update Go on my machine (from 1.14.x to 1.17.5).

1 Like

Yes, I am using similar script to the repo.

By the way, it seems that - go.dev site show correct version number :slight_smile:

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.