sidebar hamburger menu

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. This allows you to 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 is designed to ensure 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 easily 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 7 (CentOS, CloudLinux, Oracle Linux, etc.)RPM7.x12, 14, 16, 18, 20
EL 8 (CentOS, CentOS Stream, CloudLinux, Oracle Linux, etc.)RPM8.x12, 14, 16, 18, 20
EL 9 (AlmaLinux, CentOS, CloudLinux, Oracle Linux, etc.)RPM9.x12, 14, 16, 18, 20
EL 10 (AlmaLinux, CloudLinux, Oracle Linux, etc.)RPM10.x14, 16, 18, 20
UbuntuDEB18.04, 20.04, 22.04, 24.0412, 14, 16, 18, 20
DebianDEB10, 1112, 14, 16, 18, 20
DebianDEB1212, 14, 16, 18, 20, 23
DebianDEB1312, 14, 16, 18, 20, 22, 23, 24
Alpine LinuxAPK3.22, 3.2312, 14, 16, 18, 20, 22, 23, 24

Supported architecture: x86_64 (64-bit)

Other versions and architectures available upon request. Contact sales@tuxcare.com for more information.

Installation

Prerequisites

  • A valid TuxCare ELS license key — contact sales@tuxcare.com 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

    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

    Each version can be installed individually or all versions at once.

    yum install alt-nodejs18*

    To install all versions at the same time:

    yum groupinstall alt-nodejs

    To list available groups/meta-packages:

    sudo yum group list
  4. Verify the installation

    Activate the desired version and check it returns the expected version:

    source /opt/alt/alt-nodejs<version>/enable
    node -v
    
  5. Update packages

    yum update 'alt-nodejs*'

What's Next?