[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-759797-105":3,"detail-sidebar-cat-0-en-105":79,"doc-detail-759797-en":129,"doc-similar-759797":165},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":72,"head_meta":74,"extra_data":76,"updated_unix":78},105,"en","nodejs-tutorial-learn-the-basics","Node.js Tutorial - Learn the Basics","","Node.js is a JavaScript-based platform built on the V8 engine, used to create I/O intensive web applications such as streaming services and single-page apps. This tutorial targets software programmers, introducing the core components and architectural concepts needed to build Node.js understanding with practical examples. Guidance covers prerequisites in JavaScript and related web technologies, shows how to execute programs online using the Try it option, and provides setup basics. Copyright and usage terms are included for reference.",{"@graph":14,"@context":71},[15,34,54],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/technology/","Technology",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/nodejs-tutorial-learn-the-basics/759797/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":48,"encodingFormat":47,"isAccessibleForFree":49,"interactionStatistic":50},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/nodejs-tutorial-learn-the-basics/759797.png","ImageObject",300,407,{"name":42,"@type":43},"lugxt","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-28",true,{"@type":51,"interactionType":52,"userInteractionCount":22},"InteractionCounter",{"@type":53},"ViewAction",{"@type":55,"mainEntity":56},"FAQPage",[57,63,67],{"name":58,"@type":59,"acceptedAnswer":60},"Who is this Node.js tutorial designed for?","Question",{"text":61,"@type":62},"It is designed for software programmers who want to learn Node.js basics and its architectural concepts.","Answer",{"name":64,"@type":59,"acceptedAnswer":65},"What prerequisites are recommended before starting?",{"text":66,"@type":62},"A basic understanding of JavaScript is required, along with familiarity with web technologies like HTML, CSS, and AJAX.",{"name":68,"@type":59,"acceptedAnswer":69},"How can the tutorial examples be executed online?",{"text":70,"@type":62},"Most examples provide a Try it option, enabling users to run Node.js programs on the spot.","https://schema.org",{"og:url":32,"og:type":73,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":75,"canonical":32},"index,follow",{"doc_id":77,"site_id":7},759797,1795895077,{"code":4,"msg":80,"data":81},"success",[82,86,90,94,99,103,108,113,118,121,125],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":83,"show_sort_weight":84,"slug":85},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":87,"show_sort_weight":88,"slug":89},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":91,"show_sort_weight":92,"slug":93},"Exam",70,"exam",{"id":95,"doc_module":4,"doc_module_name":25,"category_name":96,"show_sort_weight":97,"slug":98},5,"Comic",60,"comic",{"id":100,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":101,"slug":102},6,50,"technology",{"id":104,"doc_module":4,"doc_module_name":25,"category_name":105,"show_sort_weight":106,"slug":107},7,"Healthcare",40,"healthcare",{"id":109,"doc_module":4,"doc_module_name":25,"category_name":110,"show_sort_weight":111,"slug":112},8,"Research & Report",30,"research-report",{"id":114,"doc_module":4,"doc_module_name":25,"category_name":115,"show_sort_weight":116,"slug":117},9,"Religion & Spirituality",20,"religion-spirituality",{"id":116,"doc_module":4,"doc_module_name":25,"category_name":119,"show_sort_weight":116,"slug":120},"World Cup","world-cup",{"id":122,"doc_module":4,"doc_module_name":25,"category_name":123,"show_sort_weight":122,"slug":124},10,"Lifestyle","lifestyle",{"id":126,"doc_module":4,"doc_module_name":25,"category_name":127,"show_sort_weight":95,"slug":128},19,"General","general",{"code":4,"msg":80,"data":130},{"doc_id":77,"user_id":131,"nickname":42,"user_avatar":132,"doc_module":4,"category_id":100,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":133,"file_id":134,"file_url":135,"file_type":136,"file_size":137,"view_count":22,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":138,"language":139,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":140,"faqs":141,"seo_title":142,"seo_description":12,"update_tm":78,"read_time":143,"preview_page_count":95,"preview_urls":144},3985747862600,"https://ap-avatar.wpscdn.com/davatar_9964176cb1d06d4a9deccf72a44ae3dc","About the Tutorial  \nNode.js is a very powerful JavaScript-based framework/platform built on Google Chrome's JavaScript V8 Engine. It is used to develop I/O intensive web applications like video streaming sites, single-page applications, and other web applications. Node.js is opensource, completely free, and used by thousands of developers around the world.  \nAudience  \nThis tutorial is designed for software programmers who want to learn the basics of Node.jsand its architectural concepts. This tutorial will give you enough understanding on all the necessary components of Node.js with suitable examples.  \nPrerequisites  \nBefore proceeding with this tutorial, you should have a basic understanding of JavaScript. As we are going to develop web-based applications using Node.js, it will be good if you have some understanding of other web technologies such as HTML, CSS, AJAX, etc.  \nExecute Node.js Online  \nFor most of the examples given in this tutorial , you will find a Try it option, so just make use of this option to execute your Node.js programs on the spot and enjoy your learning.  \nTry the following example using the Try it option available at the top right corner of the below sample code box (on our website) :  \n/* Hello World! program in Node.js */ console.log(\"Hello World!\");  \nCopyright & Disclaimer  \n􀂤 Copyright 2016 by Tutorials Point (I) Pvt. Ltd.  \nAll the content and graphics published in this e-book are the property of Tutorials Point (I) Pvt. Ltd. The user of this e-book is prohibited to reuse, retain, copy, distribute or republish any contents or a part of contents of this e-book in any manner without written consent of the publisher.  \nWe strive to update the contents of our website and tutorials as timely and as precisely as possible, however, the contents may contain inaccuracies or errors. Tutorials Point (I) Pvt. Ltd. provides no guarantee regarding the accuracy, timeliness or completeness of our website or its contents including this tutorial. If you discover any errors on our website orin this tutorial, please notify us at [contact@tutorialspoint.com](contact@tutorialspoint.com)  \nTable of Contents  \nAbout the Tutorial ............................................................................................................................................ i  \nAudience ........................................................................................................................................................... i  \nPrerequisites..................................................................................................................................................... i  \nExecute Node.js Online..................................................................................................................................... i  \nCopyright & Disclaimer ..................................................................................................................................... i  \nTable of Contents ............................................................................................................................................ ii  \n1. Introduction..............................................................................................................................................1  \nWhat is Node.js?.............................................................................................................................................. 1  \nFeatures of Node.js ......................................................................................................................................... 1  \nWho Uses Node.js?.......................................................................................................................................... 2  \nConcepts .......................................................................................................................................................... 2  \nWhere to Use Node.js?......................","cbCaiddr8sJmGuki","https://ap.wps.com/l/cbCaiddr8sJmGuki","pdf",1064717,41,"English","# 1. Introduction\n## What is Node.js?\n## Features of Node.js\n## Who Uses Node.js?\n## Concepts\n## Where to Use Node.js?\n## Where Not to Use Node.js?\n# 2. Environment Setup\n## Try it Option Online\n## Local Environment Setup\n## Text Editor\n## The Node.js Runtime\n## Download Node.js Archive\n## Installation on UNIX/Linux/Mac OS X and SunOS\n## Installation on Windows\n## Verify Installation: Executing a File\n# 3. First Application\n## Creating Node.js Application","[{\"question\":\"Who is this Node.js tutorial designed for?\",\"answer\":\"It is designed for software programmers who want to learn Node.js basics and its architectural concepts.\"},{\"question\":\"What prerequisites are recommended before starting?\",\"answer\":\"A basic understanding of JavaScript is required, along with familiarity with web technologies like HTML, CSS, and AJAX.\"},{\"question\":\"How can the tutorial examples be executed online?\",\"answer\":\"Most examples provide a Try it option, enabling users to run Node.js programs on the spot.\"}]","Node.js Tutorial - Learn the Basics | PDF",103,[145,149,153,157,161],{"page_no":22,"url":146,"width":147,"height":148},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-28/a5bf84ac5a3ddf80ed9654867112624a.webp",983,1390,{"page_no":26,"url":150,"width":151,"height":152},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-28/b43af58caf842cceae6803714bc58f28.webp",982,1388,{"page_no":30,"url":154,"width":155,"height":156},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-28/db72ecd0667009226e7397e8fc31cae2.webp",981,1387,{"page_no":33,"url":158,"width":159,"height":160},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-28/145c936136105a56c16483c0e06bab7a.webp",980,1385,{"page_no":95,"url":162,"width":163,"height":164},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-28/b2c86d2f37f4183aaf92c7e3ac597163.webp",979,1384,{"list":166,"token":11},[167,173,179,185,191,197,203,210,216,223],{"doc_id":168,"doc_title":169,"file_type":136,"home_preview_img_url":170,"slug":171,"view_count":22,"category_name":29,"create_tm":172},759796,"Microservices with Node.js","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230044484999/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111939&Signature=vkeX8Z1ZRdhQKnq1diBhE0ZlpFQ%3D","microservices-with-nodejs",1795895075,{"doc_id":174,"doc_title":175,"file_type":136,"home_preview_img_url":176,"slug":177,"view_count":22,"category_name":29,"create_tm":178},759801,"The Node.js Handbook - Introduction to Node.js","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230044485168/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111939&Signature=jXaTXmUnO7FvRsBtaci5h5ld2RM%3D","the-nodejs-handbook-introduction-to-nodejs",1795895118,{"doc_id":180,"doc_title":181,"file_type":136,"home_preview_img_url":182,"slug":183,"view_count":138,"category_name":29,"create_tm":184},40298,"Fundamentals of Web Programming Practical Tutorial","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229795184666/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111939&Signature=E0x6Sm0m5aZhiTxcrm3DF%2BBP8KU%3D","fundamentals-of-web-programming-practical-tutorial",1783309396,{"doc_id":186,"doc_title":187,"file_type":136,"home_preview_img_url":188,"slug":189,"view_count":22,"category_name":29,"create_tm":190},759798,"Node.js Notes for Professionals","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230044485017/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111939&Signature=R3i5PFchvjyVKh66MR3OU%2FkWE%2FA%3D","nodejs-notes-for-professionals",1795895079,{"doc_id":192,"doc_title":193,"file_type":136,"home_preview_img_url":194,"slug":195,"view_count":22,"category_name":29,"create_tm":196},760749,"JavaScript for Impatient Programmers","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230044250531/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111939&Signature=n%2FCc9D5qLtoPPcEeEiRp0saMA1Y%3D","javascript-for-impatient-programmers",1795908973,{"doc_id":198,"doc_title":199,"file_type":136,"home_preview_img_url":200,"slug":201,"view_count":122,"category_name":29,"create_tm":202},692306,"Learning Node.js - A Hands-On Guide to Building Web Applications in JavaScript","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230002737479/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111939&Signature=HxXjXW1Xp%2FpE%2FCggFFMtBU8Ug3Q%3D","learning-nodejs-a-hands-on-guide-to-building-web-applications-in-javascript",1794192934,{"doc_id":204,"doc_title":205,"file_type":136,"home_preview_img_url":206,"slug":207,"view_count":208,"category_name":29,"create_tm":209},7281,"Html5 Javascript and Jquery","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229696611480/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111939&Signature=F%2Bz4nYdq0y5p307baAXmRM1nxeg%3D","html5-javascript-and-jquery",59,1776330359,{"doc_id":211,"doc_title":212,"file_type":136,"home_preview_img_url":213,"slug":214,"view_count":33,"category_name":29,"create_tm":215},681160,"6.170 Tutorial 2 Rails Basics - Topic 0 Useful commands when developing rails applications","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229998653476/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111939&Signature=WBh2u0B71X8O9vuDJIesIB%2BNOuY%3D","6170-tutorial-2-rails-basics-topic-0-useful-commands-when-developing-rails-applications",1793940543,{"doc_id":217,"doc_title":218,"file_type":136,"home_preview_img_url":219,"slug":220,"view_count":221,"category_name":29,"create_tm":222},391674,"Top 20 MEAN Interview Questions and Answers","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229917401383/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111939&Signature=W%2FqFXodhKVV6sIQmvgrjQdnHnv4%3D","top-20-mean-interview-questions-and-answers",17,1790357245,{"doc_id":224,"doc_title":225,"file_type":136,"home_preview_img_url":226,"slug":227,"view_count":104,"category_name":29,"create_tm":228},700982,"Java Scripting Programmer's Guide - Release 11","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230011575643/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111939&Signature=6rDdOFkuzQdh3eVQnPmT6nxZukc%3D","java-scripting-programmers-guide-release-11",1794522624]