Tecadmin published a guide about installing NVM on macOS with Homebrew.
How To Install NVM on macOS with Homebrew
The NVM (Node Version Manager) is a shell script used for installing and managing Node.js on a Linux based system. The macOS users can install NVM using the homebrew. This tutorial help you to install NVM on your macOS system and manage Node.js versions. Prerequisites You must have macOS desktop access with administrator privileges.
How To Install NVM on macOS with Homebrew – TecAdmin