nodenv

Node.js version manager allowing multiple Node versions on one system

brewmacoslinux
Try with needOr install directly
Source

About

Node.js version manager

Commands

nodenv

Examples

List all available Node.js versions to install$ nodenv install --list
Install a specific Node.js version$ nodenv install 18.16.0
Set the global Node.js version$ nodenv global 18.16.0