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
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
goenv nvm
9 313
1,927 75,390
2.2% 1.8%
7.9 7.8
14 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:

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

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

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

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

volta - Volta: JS Toolchains as Code. ⚡

GVM - Go Version Manager

SDKMan - The SDKMAN! Command Line Interface

bun - Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one

nodist - Natural node.js and npm version manager for windows.

nvm for Windows - A node.js version management utility for Windows. Ironically written in Go.

docker-node - Official Docker Image for Node.js :whale: :turtle: :rocket:

HomeBrew - 🍺 The missing package manager for macOS (or Linux)