![]() Press ESC + :wq to save and close your file. Next, load the variable to the current shell environment. From the next login, it will automatically loaded. The NVM has been installed on your macOS system. Go to next step to install Node.js versions with the help of nvm. ![]() To see available versions, type: nvm ls-remote Step 3 – Install Node.js with NVMįirst of all, see what Node versions are available to install. Now, you can install any version listed in above output. Homebrew is a software package manager for Mac OS which can be used to install required packages, libraries etc to setup your local development requirements. You can also use aliases names like node for latest version, lts for latest LTS version, etc. nvm install node # Installing Latest version nvm install 14 # Installing Node.js 14.X versionĪfter installing you can verify what is installed with: nvm ls #HOMEBREW OSX FOR MAC OS# To set the node 14.X as default version, simply use: nvm use 14 If you have installed multiple versions on your system, you can set any version as the default version any time. ![]() Similarly, you can install other versions like Node 12.X or Node 15 and switch between them. This tutorial explained you to how to install NVM and node.js on macOS system. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |