Install NodeJS
- Go here if you have node version below 18.20.0 installed.
- If you already have Node.js 18.20.0 or higher installed on your system, you can skip this step. Otherwise, follow the steps below to install Node.js on your system:
MacOS
Open terminal and run the following command to install Node.js using Homebrew.
brew install node
Windows
Follow the steps below to install Node.js on Windows.
- Visit the Node.js official website: Download Node.js (opens in a new tab)
- Choose 18.20.0 or above and download.
- Run the installer and follow the installation wizard.
- Open a "Command Prompt" or "PowerShell" window.
- Type the following commands to verify the Node.js and npm installation:
node -v
- If you see, node version (ex: v18.18.1) your node has been installed correctly
Linux
Follow the steps below to install Node.js on Linux.
- Visit the Node.js official website: Download Node.js (opens in a new tab)
- Choose 18.20.0 or above and download.
- Choose your preffered way of installation.
- Open a terminal and type the following commands to verify the Node.js installation:
node -v
- If you see, node version (ex: v18.18.1) your node has been installed correctly