You’ll want to install a tool called that lets you switch between Node versions. Remember, even-numbered Node versions (like 14, 16, and 18) are production-ready Node versions. Odd numbered are experimental Node versions. You should generally stick to even-numbered Node versions.
Like your Ruby version manager, you have three choices for version manager: The tool you will use to switch between Node versions: NVM, Nenv, and Asdf.
1) Node Version Manager
nvm list to see the list the installed versions of Node. To use a version, type
nvm use (for example,
nvm use 12.8.0). To install a new version of Node, use
nvm install (for example,
nvm install 12.16.3)