downgrade node version
Andrew Walker
Updated on July 31, 2026
Downgrading Node
For Windows and nvm , the command is: nvm install
How do I downgrade a previous version of node JS?
Updating Node using the installers (or downgrading)
Just visit the Node installers page at and download and install the latest node version. From the “previous releases” section at the bottom of the page, you can select a specific version to install.
How do I run an older version of Node?
So, to downgrade the node version , Just install the older version of node js .
find version you want and click download.on mac click the . pkg executable and follow the installation instructions (not sure what the correct executable is for windows)be happy now that you are on the version of node you wanted.
How do I change Nodejs to a specific version?
If you want to switch to the different version of Node, just type n in the terminal and you should see the Node versions listed. Use arrow keys to choose the version and press enter.
How do I change the active Node version?
The n command for installing and activating a version of Node is simple: n 6.17. 1 . You could also use n latest for the latest version of Node or n lts for the latest LTS version of Node. If the version of Node is already installed, then n will simply switch to that version.
How do I change node js version in Windows?
A simple install by downloading and running the nvm-setup. zip. Then simply this simply allows you to switch your Node versions, also the ability to use install commands.
How do I install an older version of npm?
Step 3: To install previous version of NPM use the following command:
In windows: npm install -g npm@version. Example: npm install -g linux: sudo apt-get install npm=version-1chl1~precise1. Example: sudo apt-get install npm=4.0.0-1chl1~precise1.
How do I uninstall and reinstall node JS?
a) Reinstalling using a Node version manager
Go to the Windows Control Panel and uninstall the Node. js program.If any Node. js installation directories are still remaining, delete them. If any npm install location is still remaining, delete it. An example is C:Users
How do I check node js version?
To see if Node is installed, open the Windows Command Prompt, Powershell or a similar command line tool, and type node -v . This should print the version number so you’ll see something like this v0. 10.35 .
Can I run different versions of node?
Node Version Manager (NVM) is a great tool and easy to switch between multiple node versions while working on projects that required different NodeJs versions. It saves a lot of development time by just switching to the version of nodejs needed.
How do I change NodeJs version in Linux?
3 Ways to Update Node.js to Latest Version on Linux Systems. Option 1: Update Node.js with NVM (Node Version Manager) Option 2: Update Node.js with NPM (Node Package Manager) Update Node.js to Latest Version on Windows and macOS. Option 1: Update Node.js on Windows and macOS with Installer.
How do I switch node versions on Mac?
Switch Node via alias
Now, to switch between the node versions, enter an alias node10 in your terminal. Execute node -v to verify that you are now using the correct node version.
How do I use different Node versions in NVM?
Switching among Node.
7; we can simply run either nvm use 12.22. 7 or nvm use 16.13. 0 to easily switch into either version we need. Note that since we only have one version that begins with 12, 14, or 16, we can switch versions with a simple nvm use 16 , nvm use 14 , or nvm use 12 command.
How do I un install Node JS?
How to Uninstall Nodejs Using Control Panel from Windows 10?
Open Start and search for Control Panel. Or, simply press the Win key+R to open Run. Click Programs.Under the Programs and Features option, click Uninstall a Program.Look for Nodejs and right click on it.Now, click Uninstall.
How do I change npm version?
If you need a different version of npm, then downgrading (or upgrading) npm from the bundled npm version is a separate command. e.g. When you switch Nodes. js versions using n , you need to reinstall the desired npm version again.