Software Engineer, Tech Blogger and Open Source Enthusiast

Yeah!!! I am going to give to try Node.js by creating small product. But don’t have Node.js developing environment ready in my work station. So, I installed by compiling from source via GIT repo. I can switch and update it easily. It’s quite easy. Just follow me.

If you don’t have installed GIT in your pc, then run the following commands, neither skip the following commands…

GIT installation is done. Now, clone the repository at /usr/local/src.

cd/usr/local/src
sudogit clone git://github.com/joyent/node.git

Run the configure scritp which will actually ensure that nodejs is install globally in the system’s environment.

sudo ./configure

Then, run the following command for compiling and installing it…

sudomakesudomakeinstall

One of the main reasons to choice GIT is that easy updating nodejs. It’s make easy updating the nodejs.
Just you will have to pull the latest source codes. And then repeat the whole installation process..