Node.js

Endless Lifecycle Support (ELS) for Node.js from TuxCare provides security fixes for Node.js versions that have reached their end-of-life. With ELS, you can continue running your server vulnerability-free.

About ALT-Node.js

alt-nodejs is a component provided by TuxCare designed for managing Node.js versions on servers and enabling users to run multiple Node.js versions simultaneously.

Here are the key features and characteristics of alt-nodejs:

  • Multiple Node.js Versions - alt-nodejs allows the installation and usage of various Node.js versions on a single server. This enables users to select the Node.js version that best suits their applications.

  • User Segmentation - alt-nodejs allows administrators to provide different Node.js versions for different users or applications. Each user can choose the Node.js version that suits their project.

  • Enhanced Compatibility - alt-nodejs ensures maximum compatibility with various Node.js applications and frameworks. This includes optimizations and changes to make it compatible with a wide range of Node.js applications.

  • Updates and Support - TuxCare provides regular updates for alt-nodejs, including bug fixes, performance improvements, and updates for new Node.js versions. This helps ensure the security and currency of Node.js usage.

  • Easy Version Switching - alt-nodejs allows switching between versions; users can manage which Node.js version is active in their environment.

alt-nodejs provides a more flexible and convenient environment for working with different Node.js versions on a single server, which is particularly useful in development and production environments where multiple applications have varying requirements for Node.js versions.

Supported OS and Node.js versions

Operating SystemsPackage TypeOS VersionNode.js versions
EL 6 (CentOS, CloudLinux, Oracle Linux, etc.)RPM6.x12, 14
EL 7 (CentOS, CloudLinux, Oracle Linux, etc.)RPM7.x10, 12, 14, 16, 18, 19, 20
EL 8 (AlmaLinux, CentOS, CentOS Stream, CloudLinux, Oracle Linux, etc.)RPM8.x10, 12, 14, 16, 18, 19, 20, 22, 24, 26
EL 9 (AlmaLinux, CentOS Stream, CloudLinux, Oracle Linux, etc.)RPM9.x10, 12, 14, 16, 18, 19, 20, 22, 24, 26
EL 10 (AlmaLinux, CloudLinux, Oracle Linux, etc.)RPM10.x10, 12, 14, 16, 18, 19, 20, 22, 24, 26
UbuntuDEB18.0412, 14, 16, 18, 20
UbuntuDEB20.0412, 14, 16, 18, 20, 22
UbuntuDEB22.0412, 14, 16, 18, 20, 22, 24
UbuntuDEB24.0412, 14, 16, 18, 20, 22, 24, 26
UbuntuDEB26.0422, 24, 26
DebianDEB1012, 14, 16, 18, 20
DebianDEB1112, 14, 16, 18, 20, 22
DebianDEB1212, 14, 16, 18, 20, 22, 23, 24
DebianDEB1312, 14, 16, 18, 20, 22, 23, 24, 26
Alpine LinuxAPK3.2314, 16, 18, 20, 23
Alpine LinuxAPK3.2414, 16, 18, 23

Supported architectures:

  • x86_64 — all supported OSes
  • aarch64/arm64 — Debian 12 and 13, Alpine Linux 3.23 and later

Other versions and architectures available upon request. Contact [email protected] for more information.

Installation

Prerequisites

  • A valid TuxCare ELS license key — contact [email protected] to obtain one
  • Root or sudo access to the server
  1. Download the installer script

    wget https://repo.alt.tuxcare.com/alt-nodejs-els/install-els-alt-nodejs-rpm-repo.sh
  2. Run the installer script with your license key (see Prerequisites above)

    The script registers the server with CLN, adds the PGP key and repository.

    sh install-els-alt-nodejs-rpm-repo.sh --license-key XXX-XXXXXXXXXXXX
  3. Install a Node.js version

    You can install each version individually or all versions at once.

    yum install alt-nodejs18*

    To install all versions at the same time (not available on Alpine Linux, which has no alt-nodejs meta-package):

    yum groupinstall alt-nodejs

    To list available groups/meta-packages:

    sudo yum group list
  4. Verify the installation

    Check that the installed version runs. On RPM and DEB systems, activate it first; on Alpine Linux the binaries are in /opt/alt/nodejs<version>/bin and there is no enable script:

    source /opt/alt/alt-nodejs18/enable && node -v
  5. Update packages

    yum update 'alt-nodejs*'

What's Next?