Skip to content
AgileLogics
4 min read

Node.js and npm

Prerequisites: Installing Node.js

Node.js runs JavaScript outside the browser — on a server, in a command-line tool, anywhere. npm (Node Package Manager) comes bundled with it, and is how you install and manage third-party packages.

npm init -y
npm install express

npm init creates a package.json file describing your project; npm install adds a package and records it there.