Installing Node.js and npm
To install Node.js, visit the official Node.js website and download the installer for your operating system. npm (Node Package Manager) comes bundled with Node.js.
- Run
node -v
andnpm -v
to check installation. - npm is used to manage packages and dependencies.