> ## Content Index
> Fetch the complete content index at: https://blog.esadax.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# Node.js Version
- URL: https://blog.esadax.com/en/node-js-version-2/
- Published: 2026-11-15T05:16:42.000Z
- Updated: 2026-11-15T05:16:42.000Z
- Author: Esadax 
- Tags: #tr-ci-08-projects-07-project-settings-19-node-version, #en, #mdx-imported, CI

The **Node.js Version** setting determines which version of Node.js is used during your project's **Build Step** as well as for running **Serverless Functions**.

---

## Why Set the Node.js Version?

- Ensures compatibility with your project’s dependencies and codebase.
- Helps avoid unexpected runtime errors caused by version mismatches.
- Controls the environment your build and serverless functions run in.

---

## Changing the Node.js Version

To change the Node.js version, simply select the desired version from the available options. After updating this setting, a **new deployment** is required for the change to take effect.

---

## Important: Specify Node.js Engine in `package.json`

To ensure your project consistently uses the correct Node.js version, **always specify the Node.js engine version in your `package.json` file**:

```json
{
  "engines": {
    "node": ">=14.0.0 <19.0.0"
  }
}

```

This helps both Esadax and other environments know which Node.js version your project expects.

---

## Support for Older Node.js Versions

If your project depends on older Node.js versions, Esadax supports them through preset engine versions. You can specify legacy versions in your `package.json` to maintain compatibility with older codebases or dependencies.

---

### How It Works

- The build environment uses the selected Node.js version to install dependencies and run build scripts.
- Serverless Functions run using the same Node.js version to ensure consistency.

---

## Example Use Cases

- You’re using a modern framework that requires Node.js 18+.
- Your project relies on legacy packages only compatible with Node.js 12 or 14.

---