DEV Community

Ankit Kumar
Ankit Kumar

Posted on

13 2

Go Version manager | GVM

There are several go version manager available out of which i found out GVM to be more reliable.

Go Version Manager (gvm)

Mac OS X Requirements

xcode-select --install
brew update
brew install mercurial

To install:

bash < <(curl -s -S -L https://raw.githubusercontent.com/moovweb/gvm/master/binscripts/gvm-installer)

GVM installation demo by 0xankit

Note: If you are using zsh just change bash with zsh
Note: Then you need to add gvm to env PATH

And To install new go version:
gvm install go1.18.3
gvm use go1.18.3 [--default]
gvm list

GVM in action demo by 0xankit

  • gvm install go1.18.3 -B directly installs the binary!

  • gvm list lists all installed go versions

  • gvm listall lists all released go versions

To uninstall:

To completely remove gvm and all installed Go versions and packages:

gvm implode

Checkout out official GVM repo for more here.

Image of Datadog

The Essential Toolkit for Front-end Developers

Take a user-centric approach to front-end monitoring that evolves alongside increasingly complex frameworks and single-page applications.

Get The Kit

Top comments (0)

Some comments may only be visible to logged-in visitors. Sign in to view all comments.

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay