Practical uses
- Serve APIs and realtime applications
- Build command-line developer tools
- Process queues, uploads, and webhooks
- Run JavaScript automation and build systems
A runtime for running JavaScript outside the browser, on servers and in tools.
Node.js runs JavaScript outside the browser using Chrome's V8 engine. It handles many network and file operations at once without blocking, which suits web servers, APIs and command-line tools, and it lets you use one language for both frontend and backend.
Install Node.js with nvm (Node Version Manager), which also lets you switch between Node versions later. You do not need this to follow the lessons: the examples run in your browser.
# Install nvm-windows from github.com/coreybutler/nvm-windows
# Then:
nvm install lts
nvm use lts
# Verify:
node --version
npm --versionLearn the basics first, then pick up these tools when a project needs them.