Node. js is a single-threaded, open-source, cross-platform runtime environment for building fast and scalable server-side and networking applications. It runs on the V8 JavaScript runtime engine, and it uses event-driven, non-blocking I/O architecture, which makes it efficient and suitable for real-time applications.
If you not installed nvm yet please install NVM first
After Installing NVM you can install NodeJS by giving node version
nvm install 14.20.1 or Version you need to install
now node and npm will install on your system.
you can use installed version by command
nvm use 14.20.1
you can check version of your node and npm
node –version
npm –version