Skip to content
SPECIFICTION
Get listed

chruby vs GVM

chruby

github.com

GVM

github.com

Side by side

FigurechrubyGVM
Price fromFreeFree
Free planYesYes
Free trial——
Open source——
macOSYesYes
LinuxYesYes
Plans published11
Spec score · Runtime Version Managers7.9 (#7)7.7 (#11)
Spec score · Development Environment Managers7.9 (#17)7.7 (#25)
Install optionsThe project documents installation from a release tarball, Homebrew, Arch Linux AUR, Fedora Copr, and FreeBSD ports.Install options include choosing a source or name, installing protobufs or build tools, and preferring or requiring binaries.
LicenseThe repository identifies its license as MIT.The repository includes an MIT license granting permission to use, copy, modify, distribute, sublicense, and sell copies of the software subject to its conditions.
Limitationschruby does not hook cd, install executable shims, or automatically switch Ruby versions by default.The README says compiling Go 1.5 and later requires an existing Go installation for bootstrapping, and gives Go 1.4 as an example.
Purposechruby changes the current Ruby version in a shell.GVM provides an interface to manage Go versions.
SecurityThe README says all releases are PGP signed and gives instructions to verify a release signature.The GitHub security page opened for the repository displays no security details in the accessible page content.

Plans

chruby

  • FreeFree

chruby pricing →

GVM

  • gvmFree

GVM pricing →

In their own words

chruby

chruby is a free, MIT-licensed shell utility for changing the Ruby version used in a session. Selecting a Ruby updates PATH and sets GEM_HOME and GEM_PATH for that installation. It can match installed Ruby names fuzzily and uses the system Ruby when no selection is made. Optional automatic switching checks the current and parent directories for a .ruby-version file. chruby supports bash 3 or later and zsh on Linux and macOS. Installation instructions cover a release tarball, Homebrew, Arch Linux AUR, Fedora Copr, and FreeBSD ports. Additional Ruby implementations can be installed with ruby-install or ruby-build. The project provides guidance for integrations including Capistrano, Chef, Cron, Emacs, Pow, Puppet, Sudo, Vim, and Fish. Releases are PGP signed, with verification instructions, and the codebase is described as about 100 lines with tests.

Visit github.com

GVM

GVM is a free tool for managing Go versions on Linux and macOS. It installs and removes versions by tag, including releases and the tip version; `gvm listall` shows available release tags and can include weekly builds. Install options allow a source or name to be selected, along with settings for protobufs, build tools, and whether binaries are preferred or required. The `gvm diff` command reports files added to or removed from GOROOT. GVM also manages GOPATH package sets, including sets kept local to a repository, and can link project directories into GOPATH. Package sets can use their own native code and dependencies through an overlay prefix and related environment variables. The project supports version pinning, lockfiles, automatic switching, shell integration, and CI/CD use. Installation requires Bison; platform instructions also list tools such as Git, Mercurial, Make, and GCC. Compiling Go 1.5 or later requires an existing Go installation for bootstrapping, with Go 1.4 offered as an example. The repository includes an MIT license.

Visit github.com