fnm

Fast and simple Node.js version manager written in Rust

brewmacoslinux
Try with needOr install directly
Source

About

Fast and simple Node.js version manager

Commands

fnm

Examples

Install a specific Node.js version$ fnm install 18.16.0
Switch to a different Node.js version$ fnm use 20.0.0
List all installed Node.js versions$ fnm list