Node.js Release Lines and LTS: What Actually Works
The Node.js release schedule, in which even-numbered major versions become long-term support releases and odd-numbered versions are short-lived.
On this page
The key figures
- LTS versions
- even-numbered major releases
- Odd-numbered releases
- supported for a short period and not promoted to LTS
- LTS duration
- about 30 months, covering active and maintenance phases
- Schedule
- published by the Node.js release working group
Why this is worth getting right
Running an unsupported Node.js version means missing security fixes, and planning upgrades around the LTS schedule avoids rushed migrations.
Do this, not that
Do
- Run production on an active or maintenance LTS version
- Plan upgrades before end of life dates
- Pin the Node.js version in the project and CI
- Test dependencies on the next LTS early
- Track security releases
Don’t
- Production on odd-numbered releases
- Running end-of-life versions
- Different Node.js versions across environments
- Upgrading major versions without testing
When to bring in help
Our advice Bring in help when an application runs an end-of-life Node.js version, or before a major upgrade.
Where this comes from
The figures and practices above come from the sources listed.
Working on something like this?
We take on Web Design & Development work for teams who want it done once, properly. Tell us what you are building and we will tell you honestly whether we are the right studio for it. Start a project.
Where to go next
Spotted something wrong? Report an error on this page. We correct on the page and say what changed.