Node. js Development Guide: basic introduction to Node. js (1)

Source: Internet
Author: User
Tags install node

Node. js Development Guide: basic introduction to Node. js (1)

What is Node. js?

According to Node. description of the official js website, "Node. js is a platform built on the Chrome JavaScript runtime environment. It is designed to easily create network applications that run fast and have scalability. Node. js uses the event-driven, non-blocking I/O model to provide lightweight and efficient features. It is very suitable for data-intensive real-time applications running on cross-distributed devices ." Before learning about Node. js, read the article "What is Node and js" to learn more about Node. js definitions.

Node. js provides a complete set of solutions for server-side applications, such as Web platforms, and can communicate with other systems, including databases, LDAP, and any traditional applications. You can develop Node. js in multiple scenarios.

Installation Process

Node. js can run on Windows, Linux, and Mac platforms. It provides 32-bit and 64-bit platforms. To install Node. js in Ubuntu Linux, you need to use the console and write the following script:

 
 
  1. sudo apt-get install python-software-properties 
  2. sudo add-apt-repository ppa:chris-lea/node.js sudo apt-get update 
  3. sudo apt-get install nodejs npm 

To install Node. js on other Linux platforms, we recommend that you click here to access GitHub for complete instructions.

If you are a Windows user, you can use the installation file to install Node. js. We can download the installation file from the official Node. js website. Based on the actual platform type, you can download the corresponding. MSI file, run it, and enter the installation dialog box as shown in:

Complete the process step by step according to the installation instructions.

After the installation is complete, a Node. js icon is added to the Windows menu. If you click this icon in the menu, the Node. js console will be enabled immediately.

You can manually run the Node. js console at the Windows Command Prompt (CMD. On the command prompt page, run the following command:

 
 
  1. node 

In this case, the interface will respond to the operation as the Node. js console.


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.