Install go with gvm on MacOS Big Sur

I used to use gvm for this —
But initial installation of go from scratch does not work for Big Sur as 1.4 does not have a binary for this OS (this command fails — gvm install go1.4 -B).
To use gvm, you can do this:

0. Install gvm — bash < <(curl -s -S -L (
1. Install go from the official site -
2. gvm install go1.15.5
3. gvm use go1.15.5 --default
4. sudo rm -rvf /usr/local/go/ (which will uninstall non-gvm version).