
I was eager to test my External GPU ( Mantiz venus + GTX 1050 Ti + SSD 250) enclosure through Thunderbolt 3. This tutorial explained you to how to install NVM and node.js on the macOS system.I just acquired a new XPS 13 (9370) with 2 thunderbolt 3 ports pcie x4 and OPI GT4. Similarly, you can install other versions like Node 12, 15, and 18 versions and switch between them. To set the node 14.X as default version, simply use: If you have installed multiple versions on your system, you can set any version as the default version any time. You can also use aliases names like node for latest version, lts for latest LTS version, etc.Īfter installing you can verify what is installed with: Now, you can install any version listed in above output. Step 3 – Install Node.js with NVM #įirst of all, see what Node versions are available to install. Go to next step to install Node.js versions with the help of nvm. The NVM has been installed on your macOS system. From the next login, it will automatically loaded. Next, load the variable to the current shell environment. Press ESC + :wq to save and close your file. Edit the following configuration file in your home directoryĪnd, add the below lines to ~/.bash_profile ( or ~/.zshrc for macOS Catalina or newer versions) Now, configure the required environment variables. Next, create a directory for NVM at home. Update the Homebrew package list and install NVM.

Now, your system is ready for the installation. My system already has installed node via Homebrew. If your system already has a node installed, uninstall it first. Login to the macOS desktop system and install Homebrew on your system (if not already installed)įor more instruction visit Homebrew installation tutorial. You must have macOS desktop access with administrator privileges. This tutorial helps you to install NVM on your macOS system and manage Node.js versions.
