goenv VS nvm

Compare goenv vs nvm and see what are their differences.

nvm

Node Version Manager - POSIX-compliant bash script to manage multiple active node.js versions (by nvm-sh)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
goenv nvm
9 313
1,932 75,557
2.5% 2.0%
7.9 7.8
22 days ago about 1 month ago
Shell Shell
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

goenv

Posts with mentions or reviews of goenv. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-05-14.
  • GitHub - Clevenio/Goenv: đŸș Manage Your Applications Go Environment.
    2 projects | /r/golang | 14 May 2023
    What does this have that https://github.com/syndbg/goenv doesn't?
  • Update Go version from CLI
    5 projects | /r/golang | 5 May 2023
    However this is still a neat script OP! I was looking for something like this when installing Go for the first time and was contemplating between goenv, gvm, and asdf before settling on brew.
  • Discussion: about "go install" versus brew when available
    6 projects | /r/golang | 1 Mar 2023
    There are Go version managers (like goenv) that let you install multiple versions of go without polluting global PATH/GOBIN/GOPATH.
  • Managing multiple Go versions in the local environment
    10 projects | /r/golang | 21 Nov 2022
    I use GoEnv. I hate that I have to do it, but I have valid (if annoying) reasons. I'd rather just keep the most recent version installed.
  • goenv VS goenv - a user suggested alternative
    2 projects | 17 Sep 2022
    https://github.com/syndbg/goenv is a shell implementation that uses a shim to make calls to go. drewgonzales360s version will symlink to whichever version of Go a user chooses.
  • How do you manage multiple versions of Go?
    2 projects | /r/golang | 27 May 2022
    I am surprised I only saw one comment for goenv. This is literally the easiest way for all languages that have something similar (Python, Ruby, Go, Terraform, etc.). You need to uninstall all your go binaries, then install goenv, and all you have to do is to put in a project a .go-version file containing a single line with the version you need. The files are searched by the tool in a hierarchical order: if in the current directory where go is ran, no .go-version file is found, the tool will look up one directory, if there’s no ../.go-version will try again and so on. Let’s say in the end you will want to run the same go-version across all your projects, all you have to do is to find the first common parent directory and put a .go-version file in there, or simply just put a file in the root directory (/.go-version) or just use the global file (~/.goenv/version).
  • How can we push homebrew to update go package?
    8 projects | /r/golang | 18 Mar 2022
    Not really answering your question but if you want to use Go 1.18 already there's a Go versions management tool called goenv that already has Go 1.18 and you can use already.
  • How to create custom pod with Kubebuilder
    4 projects | dev.to | 11 Feb 2022
    Kubebuilder doesn’t support Go 1.17, so we need to install Go 1.16. I decided to use goenv to manager Go versions.
  • NVM equivalent in go?
    6 projects | /r/golang | 8 Jan 2022
    i use goenv. works like a charm.

nvm

Posts with mentions or reviews of nvm. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-08.

What are some alternatives?

When comparing goenv and nvm you can also consider the following projects:

GVM - Go Version Manager

nvs - Node Version Switcher - A cross-platform tool for switching between versions and forks of Node.js

gvm - Go Version Manager (gvm) enables seamless installing and swapping between Go versions with a single command. This tool manages a Go environment for the user by allowing a user to specify which Go version they wish to use and handling all of the steps to install and configure that Go version. GVM also supports installing Go from the official Golang master branch so that you can easily try the next version of Go without waiting for a pre release build.

fnm - 🚀 Fast and simple Node.js version manager, built in Rust

asdf-golang - Go plugin for the asdf version manager

asdf - Extendable version manager with support for Ruby, Node.js, Elixir, Erlang & more

nvm - Node Version Manager - POSIX-compliant bash script to manage multiple active node.js versions [Moved to: https://github.com/nvm-sh/nvm]

corepack - Zero-runtime-dependency package acting as bridge between Node projects and their package managers

gimme - Install go, yay!

volta - Volta: JS Toolchains as Code. ⚡

g - Simple go version manager, gluten-free

SDKMan - The SDKMAN! Command Line Interface