Skip to content
FLAVIO COPES
flaviocopes.com
2026

The Node.js Guide

By

Node.js runs JavaScript on the server. A curated guide to the best Node.js tutorials on this site: core modules, files, HTTP, streams, and npm.

~~~

Node.js is a runtime that lets you run JavaScript outside the browser. Built on the V8 engine, it powers servers, command line tools, and build systems everywhere.

If you know JavaScript, you already know most of what you need. What changes is the environment: no DOM, but full access to files, the network, and the operating system.

I wrote a lot of Node.js tutorials on this site. This page is your map. Follow the path below if you’re starting out, or jump to the topic you need.

Where to start

Follow this path in order:

  1. How to install Node.js: get Node running on your machine
  2. Differences between Node and the browser: same language, different world
  3. How much JavaScript do you need to know to use Node?: check your prerequisites
  4. How to use the Node.js REPL: experiment with Node interactively
  5. Output to the command line using Node: your first tool, console.log()
  6. Node, accept arguments from the command line: make your scripts configurable
  7. Build an HTTP server: the classic first Node program

Core concepts

These are the ideas that make Node what it is. The event loop is the big one: understand it and everything else follows.

Working with files

Reading and writing files is the bread and butter of Node scripts.

HTTP and networking

Node was born to build network programs. These posts cover both serving and making requests.

npm and the ecosystem

Every Node project lives on npm. Learn the package manager and the files that drive it.

Go deeper

I collected all of this material in the free Node.js Handbook. It’s the organized, start-to-finish version of everything above.

Every post on the topic is listed under the node tag.

Tagged: Node.js · All topics
~~~

Related posts about node: