chruby vs tenv
chruby
github.comtenv
tofuutils.github.ioSide by side
| Figure | chruby | tenv |
|---|---|---|
| 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.8 (#27) |
| Spec score · Development Environment Managers | 7.9 (#17) | 6.8 (#48) |
| Integrations | The project wiki links usage instructions for Capistrano, Chef, Cron, Emacs, Pow, Puppet, Sudo, Vim, and Fish. | The documentation describes GitHub Actions environment-variable support for exposing proxied output and updating the tool path. |
| License | The repository identifies its license as MIT. | The project is distributed under the Apache 2.0 license. |
| Purpose | chruby changes the current Ruby version in a shell. | tenv is a Go version manager for OpenTofu, Terraform, Terragrunt, Terramate, and Atmos. |
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.