Do you know to use one version manager supporting multiple software?
Updated by Chloe Lin [SSW] 1 year ago. See history
Every programming language or framework build upon it has its own version managers in community, such as NVM for Node.js, RVM for Ruby, and Pyenv for Python.
However, it is not a good idea to use different version managers for different software. It is better to use one version manager supporting multiple software.
Option A: asdf (recommended)
asdf - Manage all your runtime versions with one tool.
✅ Easy to use ✅ Lightweight & Fast ✅ Non-intrusive ✅ ~700 registered plugins covering most use cases including node, dotnet, dotnet-core
❌ Linux/Mac/WSL only
Option B: nix
nix-shell - A tool that allows you to create and manage isolated, reproducible development environments for software projects, using the Nix package manager and a declarative configuration file.
✅ Reproducibility - Same package installation process yields the same output ✅ Declarative configuration - Nix uses a declarative configuration format to describe packages and their dependencies ✅ Extensibility - Developers can extend its functionality through plugins and custom builders
❌ Steep learning curve ❌ Intrusive ❌ Linux/Mac/WSL only
Categories
Need help?
SSW Consulting has over 30 years of experience developing awesome software solutions.