Node.js for Windows: Quick and Easy Installation Steps
Node.js is an open-source, cross-platform JavaScript runtime environment that was developed by Ryan Dahl in 2009. It's designed to execute JavaScript code outside of a web browser, making it a popular choice for server-side and network application development.
Node.js has gained widespread adoption in recent years due to its exceptional performance, scalability, and the ability to build real-time, data-intensive applications.
Here are step-by-step installation instructions for Node.js on a Windows system:
Step 1: Download Node.js Installer
The first step you have to do is please open your web browser and go to the official Node.js website at https://nodejs.org.
On the website, you'll see two versions: LTS (Long Term Support) and Current. It's recommended to choose the LTS version for stability.
Click on the "LTS" button to download it
Step 2: Run the Installer
Once the installer is downloaded, locate the downloaded file (e.g., node-v20.9.0-x64.msi) and double-click it to run the installer.
Step 3: Welcome Screen
After clicking on the installer, you will see the welcome screen. Click the "Next" button to continue
Step 4: License Agreement
Read the Node.js License Agreement, and if you agree, select the "I accept the terms in the License Agreement" option. Then Click "Next."
Step 5: Destination Folder
Choose the installation location or leave it as the default. Then Click "Next" button.
Step 6: Select Components
You'll be presented with a list of components to install. Ensure that "Node.js runtime" and "npm package manager" are checked. Then Click "Next" button.
Step 7: Custom Setup
You will be asked for options to install the tools required to compile native modules. Then Click "Next" button.
Step 8: Ready to Install
Click "Install" to start the installation process.
Step 9: Completing the Node.js Setup
The Installer will now begin Installing Node.js.
Wait for the process to complete. This may take a few moments.
Step 10: Installation Complete
You'll see a Installation complete screen. Then Click "Finish" button to exit the installer.
Step 11: Verify Installation
To verify that Node.js is installed. Open the Command Prompt. Then type "node -v" for check Node.js version and type "npm -v" for check npm version.
If you see the versions displayed, it means Node.js and npm are installed and ready to use on your Windows.