# OpenClaw npm error code EBADENGINE on unsupported Node

Canonical: https://cwyn.com/pages/openclaw-guide-unsupported-node-version.html
Last updated: 2026-11-26T20:28:31-05:00

OpenClaw operations guide

If OpenClaw says your Node version is unsupported or the install prints `npm error code EBADENGINE`, run `node -v` in that terminal. Compare the active version with the release’s required range, then switch to a supported Node version in the same shell. Retry the install and run `openclaw --version` before onboarding.

Last updated November 26, 2026 · Published November 19, 2026

By CWYN · Nov 26, 2026 · Checked against docs, not run · The [OpenClaw 2026.11.5 runtime check](https://github.com/openclaw/openclaw/blob/v2026.11.5/node-version.mjs) specifies which Node versions it accepts · The proof below records a separate install on 2026.11.10

## 1. Read the active Node version

The recorded install below printed `npm error code EBADENGINE` with the required and actual versions. A global install can also finish if the preinstall check did not run. In either case, run `node -v` in the affected terminal. For OpenClaw 2026.11.5, Node 22, 23 and 25 are unsupported. The floors for the Node 24 and 26 lines are 24.16.0 and 26.1.0 respectively. The linked SQLite library also has to pass OpenClaw’s checks. The [Node setup reference](https://docs.openclaw.ai/install/node) lists the supported lines and recommended patches.

## 2. Select a supported runtime

OpenClaw recommends Node 26. The release recommends at least 26.12.1 on that line, or at least 24.22.1 if you stay on Node 24. If you already use fnm, run `fnm install 26` followed by `fnm use 26`. For a system-managed installation, use the platform instructions in the Node setup reference.

## 3. Recheck in the shell you plan to use

Run `node -v` again, then repeat it in a newly opened terminal. If the older version returns, check your version manager’s shell initialization and select the supported release in the new shell before continuing.

## 4. Retry the npm install

For npm 12 or npm 11.16 and later, the [OpenClaw installation reference](https://docs.openclaw.ai/install#npm-pnpm-or-bun) gives `npm install -g openclaw@latest --allow-scripts=openclaw`. With npm 11.15 or earlier, omit `--allow-scripts=openclaw`. If the error now names SQLite, follow the Node setup reference for your platform’s runtime.

## 5. Verify the CLI before onboarding

Run `openclaw --version`. If it prints the installed release, you can proceed to `openclaw onboard --install-daemon` for a first setup with a managed Gateway. If the shell cannot find OpenClaw after the runtime switch, check the npm launcher path using the related guide below.

After onboarding, use the [Gateway and Telegram pairing checklist in the OpenClaw Complete Setup Pack](https://cwyn.com/pages/pack-openclaw-complete-setup-pack.html) to verify the first private reply. If the Gateway answers only while you are signed in over SSH, follow the steps to [keep the Linux Gateway running after SSH logout](https://cwyn.com/pages/openclaw-guide-linux-gateway-stops-after-logout.html).

## Proof: what was checked

Version

OpenClaw 2026.11.10 (Node v20.20.2 and v26.5.0)

Date checked

Nov 25, 2026

Method

Tested: ran the command on a clean install.

Symptom

your Node version is unsupported

Fix

[Select a supported Node version](https://cwyn.com/pages/openclaw-guide-unsupported-node-version.html#2-select-a-supported-runtime) in the same terminal, retry the install and check the CLI version.

Evidence

`npm view openclaw@2026.11.10 engines` returned the supported range.

```
{ "node": ">=24.16.0 <25 || >=26.1.0" }
```

On Node v20.20.2 with npm 11.17.0, `npm install openclaw@2026.11.10 --engine-strict` failed.

```
npm error code EBADENGINE
npm error engine Unsupported engine
npm error engine Not compatible with your version of node/npm: openclaw@2026.11.10
npm error notsup Not compatible with your version of node/npm: openclaw@2026.11.10
npm error notsup Required: {"node":">=24.16.0 <25 || >=26.1.0"}
npm error notsup Actual:   {"node":"v20.20.2","npm":"11.17.0"}
```

On Node v26.5.0, `npm install openclaw@2026.11.10` succeeded. npm printed this notice.

```
npm warn allow-scripts Run `npm approve-scripts --allow-scripts-pending` to review, or `npm approve-scripts <pkg>` to allow.
```

`openclaw --version` then printed the installed release.

```
OpenClaw 2026.11.10 (6ea542f)
```

[Get your free CWYN Score](https://cwyn.com/pages/score.html)

## Related guides

- [OpenClaw command not found after npm install? Check PATH](https://cwyn.com/pages/openclaw-guide-command-not-found-after-npm-install.html)
- [OpenClaw Gateway port 18789 is already in use](https://cwyn.com/pages/openclaw-guide-gateway-port-already-in-use.html)
- [OpenClaw SERVICE_DEFINITION_UNKNOWN on Windows](https://cwyn.com/pages/openclaw-guide-windows-gateway-scheduled-task-unknown.html)
- [OpenClaw Docker Compose setup and first run](https://cwyn.com/pages/openclaw-guide-docker-compose-first-run.html)

## Next steps

- [All 135 OpenClaw guides](https://cwyn.com/guides/openclaw/)
- [OpenClaw setup walkthrough](https://cwyn.com/setup/openclaw/)
- [CWYN Score](https://cwyn.com/pages/score.html)
- [OpenClaw Complete Setup Pack ($14.95)](https://cwyn.com/pages/pack-openclaw-complete-setup-pack.html)

### Verify the Gateway after switching Node versions

The [OpenClaw Complete Setup Pack ($14.95)](https://cwyn.com/pages/pack-openclaw-complete-setup-pack.html) is an optional paid kit with a Gateway and Telegram pairing checklist to use once the CLI works.
Kit details as of Nov 18, 2026

OpenClaw Complete Setup Pack $14.95

Start an OpenClaw workspace with editable instructions, local Gateway and tool presets, and checklists for pairing, memory, costs and rollback.
