Installing NVM on Windows
If you’re using Windows, you’ll need to use “nvm-windows,” a version of NVM specifically for Windows.
- Download nvm-windows:
- Go to the nvm-windows GitHub releases page.
- Download the latest
nvm-setup.zipfile.
- Install nvm-windows:
- Extract the
nvm-setup.zipfile and run thenvm-setup.exefile. - Follow the installation instructions. It will prompt you for the directory to install NVM and the directory for Node.js versions. The defaults are usually fine.
- Extract the
- Verify Installation:
- Once installed, open a new command prompt or PowerShell window.
- Type
nvmto check if it is installed. If it is correctly installed, you will see a list of available commands.
Installing Node.js Version 18
After installing NVM, you can install Node.js version 18:
nvm install 18
nvm use 18
for Installing nvm in ubnutu or linux use below command
wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.39.7/install.sh | bash
Leave a Reply