top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration

Facebook Login
Site Registration

How do I get started with Node.js?

+1 vote

Any good tutorial for beginners?

posted Aug 7, 2014 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+1 vote

JavaScript’s rising popularity has brought with it a lot of changes, and the face of web development today is dramatically different. The things that we can do on the web nowadays with JavaScript running on the server, as well as in the browser.

The main idea of Node.js: use non-blocking, event-driven I/O to remain lightweight and efficient in the face of data-intensive real-time applications that run across distributed devices.

Node.js is only an environment - meaning that you have to do everything yourself. There is not a default HTTP server, or any server for that matter.


Naturally, we need to install Node before we can write and execute an app. Installation is straight forward, if you use Windows or OS X; the website offers installers for those operating systems. For Linux, use any package manager. Open up your terminal and type:

sudo apt-get update
sudo apt-get install node


sudo aptitude update
sudo aptitude install node
Node.js is in sid repositories; you may need to add them to your sources list:

sudo echo deb sid main > /etc/apt/sources.list.d/sid.list
But be aware that installing sid packages on older systems may break your system. Be careful, and remove /etc/apt/sources.list.d/sid.list after you finish installing Node.

For More Please visit:

answer Aug 7, 2014 by Amit Kumar Pandey
Contact Us
+91 9880187415
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Karnataka INDIA.