How to switch… between versions

If we are talking about Node, we first must see what are the versions that are installed on the system. For this, we need to get the list:

nvm list

Then we switch between Node versions:

nvm use 16

Switch between PHP versions:

sudo update-alternatives --config php

Leave a Reply

Your email address will not be published. Required fields are marked *

No spam? * Time limit is exhausted. Please reload CAPTCHA.