Launch offer
Business website $150 USD Custom plugin $200 USD Ready in 5 days
Get a quote
Node.js

Node.js Installation

Install Node.js and npm, then verify versions from the terminal on Windows, macOS, or Linux.

Node.js Installation — 4/55 in the Node.js series. Full playlist companion: Node.js complete course on YouTube. Prefer one article? Read the complete Node.js tutorial.

Short description

Download the LTS build from nodejs.org (or use nvm). Installation includes npm, which manages packages for your projects.

Steps

  1. Install Node.js LTS from the official site or nvm.
  2. Open a terminal and verify node and npm.
  3. Create a project folder and initialize npm.

Verify installation

node -v
npm -v
mkdir my-node-app && cd my-node-app
npm init -y

Leave a reply

Your email address will not be published. Required fields are marked *