nodebrew

Node.js version manager for installing and switching between Node versions

brewmacoslinux
Try with needOr install directly
Source

About

Node.js version manager

Commands

nodebrew

Examples

List all available Node.js versions to install$ nodebrew list-remote
Install a specific Node.js version$ nodebrew install-binary v18.17.0
Switch to a different installed Node.js version$ nodebrew use v18.17.0