You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Jesus Paz edited this page Aug 31, 2023
·
8 revisions
With our newly updated repository, users now have the flexibility to select a specific version of Node.js to install, empowering them to cater their development environments to their precise needs.
Pre-requisite: Ensure your system's repository settings have been appropriately configured to use the new repository.
Instructions for Debian Systems:
List Available Node.js Versions:
Before installing Node.js, you might want to see which versions are available in the repository.
# Display available versions of Node.js from the repository
apt-cache policy nodejs
Choose and Install a Specific Node.js Version:
Once you've decided on a version, you can install it using the following command, replacing <version> with your chosen version:
# Install a specific version of Node.js. Replace '<version>' with the desired version number
apt-get install nodejs=<version>
Example:
If you wish to install version 18.16.0-1nodesource1 of Node.js:
# Install Node.js version 18.16.0-1nodesource1
apt-get install nodejs=18.16.0-1nodesource1
Thank you for choosing our repository for your Node.js needs. Should you require further guidance, do not hesitate to reach out.