


























@@ -1,13 +1,13 @@
11---
2-summary: "Install and configure Node.js for OpenClaw — version requirements, install options, and PATH troubleshooting"
2+summary: "Install and configure Node.js for OpenClaw - version requirements, install options, and PATH troubleshooting"
33title: "Node.js"
44read_when:
55 - "You need to install Node.js before installing OpenClaw"
66 - "You installed OpenClaw but `openclaw` is command not found"
77 - "npm install -g fails with permissions or PATH issues"
88---
9910-OpenClaw requires **Node 22.14 or newer**. **Node 24 is the default and recommended runtime** for installs, CI, and release workflows. Node 22 remains supported via the active LTS line. The [installer script](/install#alternative-install-methods) will detect and install Node automatically — this page is for when you want to set up Node yourself and make sure everything is wired up correctly (versions, PATH, global installs).
10+OpenClaw requires **Node 22.14 or newer**. **Node 24 is the default and recommended runtime** for installs, CI, and release workflows. Node 22 remains supported via the active LTS line. The [installer script](/install#alternative-install-methods) will detect and install Node automatically - this page is for when you want to set up Node yourself and make sure everything is wired up correctly (versions, PATH, global installs).
11111212## Check your version
1313@@ -68,9 +68,9 @@ If this prints `v24.x.x` or higher, you're on the recommended default. If it pri
6868<Accordion title="Using a version manager (nvm, fnm, mise, asdf)">
6969 Version managers let you switch between Node versions easily. Popular options:
707071-- [**fnm**](https://github.com/Schniz/fnm) — fast, cross-platform
72-- [**nvm**](https://github.com/nvm-sh/nvm) — widely used on macOS/Linux
73-- [**mise**](https://mise.jdx.dev/) — polyglot (Node, Python, Ruby, etc.)
71+- [**fnm**](https://github.com/Schniz/fnm) - fast, cross-platform
72+- [**nvm**](https://github.com/nvm-sh/nvm) - widely used on macOS/Linux
73+- [**mise**](https://mise.jdx.dev/) - polyglot (Node, Python, Ruby, etc.)
74747575Example with fnm:
7676@@ -137,6 +137,6 @@ Add the `export PATH=...` line to your `~/.bashrc` or `~/.zshrc` to make it perm
137137138138## Related
139139140-- [Install Overview](/install) — all installation methods
141-- [Updating](/install/updating) — keeping OpenClaw up to date
142-- [Getting Started](/start/getting-started) — first steps after install
140+- [Install Overview](/install) - all installation methods
141+- [Updating](/install/updating) - keeping OpenClaw up to date
142+- [Getting Started](/start/getting-started) - first steps after install
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。