
OpenClaw is written in TypeScript and runs on Node. People who use the official install script rarely hit version problems, because the script installs a suitable Node itself; for those who manage Node themselves and install with npm, most failed installs come down to the points below.
OpenClaw is not picky about Node to be difficult. It keeps state such as sessions, memory and pairing records in SQLite databases, read and written through Node's built-in node:sqlite module. Different Node versions bundle different SQLite builds; some mishandle WAL mode, and some break on special characters in the data, causing anything from a failed start to corrupted data. So it runs a self-check at startup and refuses to run if the check fails, preferring a failed install to damaged data.
The requirements
| Node major | Status | Minimum | Advised |
|---|---|---|---|
| 26 | Recommended | 26.1.0 | 26.12.1 |
| 24 | Supported | 24.16.0 | 24.22.1 |
| 27 | Development line | 27.0.0 | — |
| 25 | Not supported | — | Use 24 or 26 |
| 22 and older | Not supported | — | Upgrade |
A few common misunderstandings:
- Node 25 is not on the support table. Many assume "higher is better" and install 25, which fails. Odd-numbered releases are short-lived; OpenClaw supports the 24 and 26 lines (27 also runs as the development line).
- Pre-releases of 24 and 26 are rejected, such as versions with -rc.
- The version number is not the whole story. On startup OpenClaw checks that Node's built-in
node:sqliteworks properly, requiring a SQLite that handles WAL mode safely. A self-compiled or trimmed-down Node can have an acceptable version number and still fail the check.

Why there is also an "advised" version
In the October 2026 eMudhra incident a set of certificate public keys leaked. Node 24.22.1 and 26.12.1 reject those keys. Versions above the minimum but below these still run OpenClaw, only printing a security warning in the terminal at startup, and openclaw security audit reports it too. OpenClaw will not download Node for you just for this patch; upgrading is your call, but we recommend it.
npm 12 blocked the install scripts
Running npm install -g openclaw@latest with npm 12 shows something like "blocked because they are not covered by allowScripts". That is npm 12's new rule: package install scripts no longer run by default, and OpenClaw needs a few steps before and after installing. The fix is to allow them explicitly:
npm install -g openclaw@latest --allow-scripts=openclawnpm 11.16 knows the option and only warns without it; 11.15 and earlier do not know it, so drop it there. The npm approve-scripts openclaw command that npm 11.16 suggests does not work for global installs and fails with ENOMATCH, so do not bother. pnpm needs --allow-build=openclaw, bun needs --trust.

PowerShell says running scripts is disabled
In Windows PowerShell, running openclaw says running scripts is disabled on this system. PowerShell has picked the openclaw.ps1 shim that npm created. Do not change the execution policy; use openclaw.cmd:
openclaw.cmd statusIf a tutorial tells you to run Set-ExecutionPolicy Unrestricted or Bypass, it is loosening the security of the whole computer, which is unnecessary.
Troubleshoot it in one pass
- Check
node -vand paste it into the Node version check. - If it falls short, upgrade Node, or simply switch to the install script and let it handle Node.
- Check
npm -vto decide whether you need--allow-scripts. - After installing, run
openclaw doctor, which checks the runtime once more.
Installing the right Node on each system
- Windows: download the 26 installer from nodejs.org, or install with winget. Open a new PowerShell afterwards and run
node -v. - macOS: download the installer from nodejs.org, or install with Homebrew. The system must be 13.5 or later.
- Linux: many distribution repositories carry an old Node, so a plain apt install may give you 18 or 20. Use nvm, fnm or the NodeSource repository to install 24 or 26.
- Easiest: install nothing and run the openclaw.ai install script, which handles it.
Error messages and what they mean
| What you see | Meaning | What to do |
|---|---|---|
| The Node version does not meet the requirement | Below 24.16 or 26.1, or it is 25 | Upgrade to 26 |
| A pre-release version is rejected | You installed an rc or similar pre-release | Switch to a release build |
| The SQLite check fails | The SQLite bundled with Node does not qualify | Use an official Node build |
| blocked because they are not covered by allowScripts | npm 12 blocked the install scripts | Add --allow-scripts=openclaw |
| ENOMATCH No installed packages match | You used npm approve-scripts | Skip it and use the option in the row above |
| Running scripts is disabled on this system | PowerShell picked openclaw.ps1 | Use openclaw.cmd |
| A security warning at startup | Below 24.22.1 or 26.12.1 | Upgrade when you can |
I installed a new Node with nvm, but openclaw still uses the old one?
Global packages are installed under a particular Node version. After switching versions, install OpenClaw again and set the default with nvm alias default 26.
I do not want to touch the system Node?
Use install-cli.sh from openclaw.ai. It puts Node and OpenClaw under a local prefix in your home directory without affecting other programs.
Does the Mac menu bar app need me to install Node?
No, the app carries its own runtime. It does need macOS 26.2, which is a separate matter.
Do I need to manage the Node version in the Docker image?
If you follow the Docker setup in the official docs, the image already has a suitable Node. If you write your own Dockerfile, choose a Node 26 release as the base image.



