Installing NodeJS on Mac.

I know, I know, there are lot of sources out there for this topic, but I still want to write this as a note to myself. Makes it easier to search 🙂

First thing I want to be clear is, I spent a little while looking for this and honestly the best resource is by people at NodeJs. So save time and end your search at https://nodejs.org/en/download/

I chose the .pkg installer and it will open up this window.

Screen Shot 2016-06-19 at 9.45.46 PM

From this step, it is pretty much click, click, click. Once this is done, just do a sanity check. Open up a terminal and type node -v. You should see some version in there.

Screen Shot 2016-06-19 at 9.49.26 PM.png

Now, to satiate the curiosity, let’s run a javascript command at terminal. First thing to fire up the Javascript engine on your machine is to hit node and then blast away. So I ran a couple of very simple commands and they look like this.

Screen Shot 2016-06-19 at 9.54.24 PM.png

That’s it folks. You have successfully installed a Javascript engine on your machine. Now you can use Javascript without the browser and use it as a backend technology! Enjoy!

One thought on “Installing NodeJS on Mac.

Leave a reply to Getting started on JS Frameworks – ibleedtechnology Cancel reply