

To set the default version of Node.js as 10, run the command: $ nvm use 10Ĭhecking the current version set using node command: $ node -v If you need a specific version install like below: $ nvm install #Examples#Ĭheck Node.js versions installed by NVM $ nvm ls The command executed installs the latest version of Node.js 10. Manpath: can't set the locale make sure $LC_* and $LANG are correct We can now install Node.js 10 on Debian 11|10|9 Linux machine using NVM package manager: $ nvm install v10ĭownloading and installing node v10.24.1. You can list available releases of Node.js that can be installed using NVM. Test the NVM environment is working: $ echo $NVM_DIR This configures NVM environment on your bashrc or zshrc file depending on the active SHELL #Bash SHELL To install Node Version Manager on your Debian system, use the following commands: curl -o- | bash NVM has to be installed before you can install Node.js 10 on Debian 11/10/9 using NVM. NVM is a version manager for node.js and it allows you to quickly install and use different versions of node via the command line.

Install Node.js 10 on Debian 11/10/9 using NVM For this reason, we cannot perform its installation from the Nodesource repository. Node.js 10 is not under active / extended LTS support. The first method is fit for actively supported LTS releases of Node.js. From the Nodesource package repository – Works for supported LTS versions of Node.js.
