Hello Command Line
First, you'll have to download the node exectuable.
If you downloaded it on mac, run the installer and follow the prompts. It will normally install to /usr/local/bin so let's go there.
I like to copy the node executable to a folder where I want to work with node js projects. This might be a good time to make a folder in your directory where you want to work with your own Node.js files. After that copy the node file over to your new folder using the cp command. Replace the second parameter with the path to the folder where you want "node" to be.
Then move into that new directory.
Ok, now we're ready to make a node.js file! Boot up sublime and let's get started! Plug this single line into your editor, and save it as Hello.js in the same folder where you copied the node executable.
Where to Go From Here
The posts on this site are written and maintained by Jim Lynch. About Jim...