Installing Node.js through cPanel

(I'm new to Node.js and Socket.io)

I have my website hosted on a server and I would like to implement realtime communication between visitors. e.g: chat

I have seen many tutorials on how to install Node.js and use it with Socket.io, but all of them refer to localhost only.

How can I make Node.js run on my server? Can I do it through cPanel? Is there any tool like Terminal (i'm using a mac) to install it and make it run?

Your hosting must support node.js/VPS server. Nowedays there are not many. The most famous are nodejitsu, heroku and http://aws.amazon.com/ec2/