chruby vs Volta
chruby
github.comVolta
volta.shSide by side
| Figure | chruby | Volta |
|---|---|---|
| Price from | Free | — |
| Free plan | Yes | — |
| Free trial | — | — |
| Open source | — | — |
| Windows | — | Yes |
| macOS | Yes | Yes |
| Linux | Yes | Yes |
| Plans published | 1 | 0 |
| Spec score · Runtime Version Managers | 7.9 (#7) | 6.7 (#28) |
| Automatic switching | Optional auto-switching checks the current and parent directories for a .ruby-version file. | Volta detects the current project and routes tools to the versions configured for it. |
| Integrations | The project wiki links usage instructions for Capistrano, Chef, Cron, Emacs, Pow, Puppet, Sudo, Vim, and Fish. | Volta provides hooks to use alternate download sources, including npm Enterprise, for tools such as Node, npm, and Yarn. |
| License | The repository identifies its license as MIT. | Volta is licensed under the BSD 2-clause license. |
| Purpose | chruby changes the current Ruby version in a shell. | Volta manages JavaScript command-line tools such as Node, npm, Yarn, and executables shipped with JavaScript packages. |
Plans
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.