Now you will have to re-open your TERMINAL to actually use NVM, so go ahead and close TERMINAL and open it again (like you did before!) Once it's open and running, you should see the TERMINAL window similar to this.įrom here we can now install NVM by typing or copying these lines: touch ~/.bash_profileĪnd NVM should now be installed in your system! Then type terminal and press the enter key on your keyboard. TERMINAL, you can do that by clicking the FINDER button in the Mac OS interface.
To Install NVM on the Mac, let's start by opening: NVM (Node Version Manager): Simple bash script to manage multiple active Node.js versions įor our convenience, we will be using NVM, it's a very simple command line tool that lets us download, update, and switch to any Node version available with just a few commands, isn't that neat? Installing NVM
While some guides only cover Linux or Windows, if you want to get started playing with Node.js and you are using a Mac with the latest updates installed, then this guide is for you! If you are new to Node.js and still exploring, you might be very confused with the tons of ways to install it. This post has been edited for clarity and some parts may appear different from the original post. This is originally posted by the author on a different website.