Version Switcher
Versions switchers are useful if you need multiple versions of the same thing and need to switch between them. It's commonly used for node.js
and python
NVM
WARNING
If you are new to the JS world you might want to checkout bun
, which is better than node.js. Continue here if you actually need node.
We will be using nvm
to install and manage node versions. The following command is taken from the repo installation instructions.
bash
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash
Pyenv
We will be using pyenv
to switch between python versions
bash
curl https://pyenv.run | bash
curl https://pyenv.run | bash