Node.js: Version ranges give you the latest release in a series

This documentation is part of the Node.js runtime version management guide. You can view the complete guide here: How Stackhero selects and manages the Node.js version for your application.

👋 Welcome to the Stackhero documentation!

Stackhero offers a ready-to-use Node.js cloud solution designed to help you move faster:

  • Deploy to production in seconds with a simple git push. No additional tools or manual configuration needed.
  • Use your own domain and take advantage of automatic HTTPS certificate setup, keeping your application secure with no extra steps.
  • Enjoy automatic backups, one-click updates, and predictable, transparent pricing so you can focus on building features while Stackhero manages the infrastructure.
  • Benefit from dedicated, private infrastructure for optimal performance and enhanced security.

Save time and simplify your operations: you can have your application running on Stackhero's Node.js cloud hosting in just a few minutes.

Specifying a range such as 24.x, >=24.5.0, or ^24.0.0 ensures you always get the latest available 24.x release. This way, you benefit from every security fix and update in that line, without any manual action.

To lock to a specific release, specify the exact version:

{
  "engines": {
    "node": "24.9.0"
  }
}