Skip to content

How to select the Node.js version to install

Jesus Paz edited this page Aug 28, 2023 · 8 revisions

With the new repository, we give people the ability to choose which version of node.js they want to install.

We assume that the repository is already configured and working.

Debian Instructions

We need to list the versions we have available in the repository. This is done by running

apt-cache policy nodejs

Select the version that you want to install and run

apt-get install nodejs=<version>

For example

apt-get install nodejs=18.16.0-1nodesource1

Clone this wiki locally