hermes - ✅(Solved) Fix Upgrade bundled Node.js from 22 to 24 (Node 24 has been LTS since Oct 2025) [1 pull requests, 1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
NousResearch/hermes-agent#25012Fetched 2026-05-14 03:49:51
View on GitHub
Comments
0
Participants
1
Timeline
5
Reactions
0
Author
Participants
Timeline (top)
labeled ×4cross-referenced ×1

scripts/install.sh and scripts/lib/node-bootstrap.sh currently pin Node.js to version 22, but Node 24 entered Active LTS in October 2025 — over 7 months ago as of May 2026.

Root Cause

scripts/install.sh and scripts/lib/node-bootstrap.sh currently pin Node.js to version 22, but Node 24 entered Active LTS in October 2025 — over 7 months ago as of May 2026.

Fix Action

Fixed

PR fix notes

PR #25043: feat: upgrade bundled Node.js from 22 to 24

Description (problem / solution / changelog)

Summary

Upgrades the bundled Node.js version from 22 to 24 across the installer and bootstrap scripts.

Node 24 entered Active LTS in October 2025 (supported through April 2028). Node 20 (the previous minimum) has been EOL since April 2026.

Changes

  • scripts/install.sh: NODE_VERSION 22 → 24
  • scripts/lib/node-bootstrap.sh:
    • HERMES_NODE_MIN_VERSION 20 → 22 (minimum accepted on PATH)
    • HERMES_NODE_TARGET_MAJOR 22 → 24 (installed when we install)
    • Updated comments to reflect new defaults

Why

  • Node 24 has been Active LTS for over 7 months
  • Node 20 (previous minimum) is already EOL
  • Newer V8 engine brings performance improvements for TUI (React/Ink), WhatsApp bridge, and browser tools
  • Keeps the project current and avoids a last-minute rush before Node 22 EOL (April 2027)

Testing

Verified that the changed files have correct syntax and the version references are consistent across all three locations.

Closes #25012

Changed files

  • scripts/install.sh (modified, +1/-1)
  • scripts/lib/node-bootstrap.sh (modified, +4/-4)

Code Example

# scripts/install.sh line 60
NODE_VERSION="22"

# scripts/lib/node-bootstrap.sh lines 26-27
HERMES_NODE_MIN_VERSION="${HERMES_NODE_MIN_VERSION:-20}"
HERMES_NODE_TARGET_MAJOR="${HERMES_NODE_TARGET_MAJOR:-22}"

---

NODE_VERSION="24"
HERMES_NODE_MIN_VERSION="${HERMES_NODE_MIN_VERSION:-22}"   # min: 2022
HERMES_NODE_TARGET_MAJOR="${HERMES_NODE_TARGET_MAJOR:-24}"  # target: 2224
RAW_BUFFERClick to expand / collapse

Summary

scripts/install.sh and scripts/lib/node-bootstrap.sh currently pin Node.js to version 22, but Node 24 entered Active LTS in October 2025 — over 7 months ago as of May 2026.

Current state

# scripts/install.sh line 60
NODE_VERSION="22"

# scripts/lib/node-bootstrap.sh lines 26-27
HERMES_NODE_MIN_VERSION="${HERMES_NODE_MIN_VERSION:-20}"
HERMES_NODE_TARGET_MAJOR="${HERMES_NODE_TARGET_MAJOR:-22}"

Why upgrade

  • Node 24 entered Active LTS in October 2025, supported through April 2028
  • Node 22 is still supported (EOL April 2027), so this isn't urgent — but staying current avoids a last-minute rush
  • Newer V8 engine versions bring performance improvements that benefit the TUI (React/Ink), WhatsApp bridge, and browser tools
  • Node 20 (the current minimum) is already EOL as of April 2026

Suggested change

NODE_VERSION="24"
HERMES_NODE_MIN_VERSION="${HERMES_NODE_MIN_VERSION:-22}"   # min: 20 → 22
HERMES_NODE_TARGET_MAJOR="${HERMES_NODE_TARGET_MAJOR:-24}"  # target: 22 → 24

Related

  • #4876 — Docker still on Node 20 (being upgraded to 22)
  • Node 22 was first introduced in the installer on Feb 23, 2026 (commit 6447a60)

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

hermes - ✅(Solved) Fix Upgrade bundled Node.js from 22 to 24 (Node 24 has been LTS since Oct 2025) [1 pull requests, 1 participants]