Get started

How to choose a Node.js LTS version and run the app on cPanel

Node.js 22 reaches end of life on 30 April 2027. Pick an Active or Maintenance LTS release and create the app in cPanel’s Node.js app manager.

2 December 2026 · 4 min read

If you run a Node.js app in production, the version you pick should still be in long-term support. The Node.js project says production applications should use an Active LTS or Maintenance LTS release — not a Current line that will go out of support in a few months.

On 2 December 2026 that means three even-numbered lines are still supported, and one of them is already close to the end of its life. This guide summarises the official schedule, then shows how to create the app in cPanel’s Node.js app manager. It does not invent which minor version your host ships, and it does not quote unofficial performance numbers.

Which Node.js LTS lines are still supported

Official Node.js LTS status: version 22 reaches end of life on 30 April 2027, version 24 is in Maintenance LTS until 30 April 2028, and version 26 is in Active LTS until 30 April 2029.
Node.js 22 reaches end of life on 30 April 2027. Versions 24 and 26 remain in long-term support. Confirm the dates on the official release schedule before you cut over.

According to the official Node.js Release schedule:

  • Node.js 22 (“Jod”) — Maintenance LTS. First released 24 April 2024. End of life: 30 April 2027.
  • Node.js 24 (“Krypton”) — Maintenance LTS since 20 October 2026. It entered LTS on 28 October 2025. End of life: 30 April 2028.
  • Node.js 26 (“Lithium”) — Active LTS since 28 October 2026. Maintenance is due 20 October 2027; end of life: 30 April 2029.

Odd-numbered lines up to 26 were not promoted to LTS and should not be used for production. Starting with Node.js 27 the project is changing that cadence, but 27 is still in Alpha at the time of writing and is not a production target.

The Release team can adjust exact dates. Check the schedule again when you plan a move, especially if you are still on 22 and are aiming at the April 2027 deadline.

A newer LTS is only a good target if your dependencies already run on it. Test the same major version you will use in production before you switch the live app.

Create and run the app in cPanel

Four-step cPanel Node.js setup: create the application in the Node.js app manager, choose a supported LTS version, install packages with npm over SSH, then check HTTPS, logs and a restart.
Create the app, pick a supported LTS, install packages over SSH, then confirm HTTPS, the logs and a clean restart.

On HosterOcean, Node.js apps run on Node.js hosting through cPanel’s Node.js app manager (the tool may also be labelled Setup Node.js App). Several Node.js versions are available; you pick one per app. npm and SSH are available for packages and builds, and the product FAQ notes that PM2, npm or Yarn, and build pipelines are supported over SSH.

  1. Log in to cPanel and open the Node.js app manager.
  2. Create an application. Set the application root, the startup file, and the domain or URL it should answer on.
  3. Choose a Node.js version the manager offers that is still in Active or Maintenance LTS, and that you have already tested with your dependencies. If 22 is the only version you have tested, plan a test of 24 or 26 well before 30 April 2027.
  4. Install packages with npm or Yarn in the app directory over SSH. Set environment variables in the app manager, not in a file the web server would serve. Then start the app from the same screen.
  5. Load the site over HTTPS, watch the app logs, and restart after you change code. Keep the previous version available until you are satisfied with the new one.

LiteSpeed sits in front of the app on these plans and serves static files so they do not have to go through Node. Certificates are issued and renewed automatically for domains on the account. Daily JetBackup copies include the app files.

If you need root access, a Node version the shared manager does not offer, or tighter control of process managers, use a VPS. The same shared stack also underpins shared hosting. For help operating a server you already run, see server management.

Self-hosted automation tools are a different path again: if you are choosing how to run n8n, see our guides to n8n with Docker on a VPS rather than forcing that workload into a shared Node app.

Frequently asked questions

When does Node.js 22 reach end of life?

On 30 April 2027, according to the official Node.js Release schedule. After that date it will no longer receive updates from the project.

Should I move to Node.js 24 or 26?

Choose the higher of the two LTS lines your dependencies already support, after a test. 26 is the Active LTS line and has the later end-of-life date (30 April 2029). 24 remains in Maintenance LTS until 30 April 2028.

Can I run more than one Node app on the same account?

Yes, depending on the resources in the plan. Create a separate application in the manager for each one, with its own version if you need it.

Do I have to use the startup file name app.js?

Many stacks default to app.js. If your project uses a different file, set that startup file in the app manager rather than renaming the project around the default.

What if the manager does not list the LTS I need?

Ask support whether that version can be enabled on the shared stack. If it cannot, or you need root, a VPS is the usual next step.

Node.js hosting at HosterOcean

To run the app on cPanel with the Node.js app manager, start from Node.js hosting. Current plan details are on that page. If you already have the code in a Git repository, open a ticket after you order and tell us the domain and the LTS version you want to use.

Tags:

Node.js LTS

Node.js 22 end of life

Node.js 26

cPanel Node.js

Setup Node.js App

Technical Guide

How to set up n8n with Docker on a VPS

Run n8n in Docker on your own VPS so it restarts on its own, keeps its data across updates and sits behind HTTPS.

Read More →

Technical Guide

How to update PHP settings for every PHP version in cPanel and CloudLinux

A Bash script that applies the same php.ini values to every installed PHP version, with a backup of each file it changes.

Read More →