n

Simple Node.js version manager for switching between Node versions

brewmacoslinux
Try with needOr install directly
Source

About

Node version management

Commands

n

Examples

Install and switch to a specific Node.js version$ n 18.16.0
Install the latest LTS version of Node.js$ n lts
List all installed Node.js versions and select one$ n