检查先决条件
安装前请确认您拥有 Node 24(或最低 Node 22.19+)、受支持的 OS,以及所选 LLM 提供商提供的 API 密钥
检查先决条件 是 CoddyKit 上的免费 OpenClaw Academy 课时。 这是第 1 节课,共 4 节。 你可以在下方免费阅读本课时的完整内容 — 然后在浏览器中使用内置代码编辑器和全天候 AI 导师进行实践。 这是 OpenClaw Academy 学习路径的一部分,你的进度在网页和 CoddyKit 应用中同步。 OpenClaw Academy 课程共包含 4 节课。
本课时的部分内容尚未翻译,以英文显示。
Before You Install
OpenClaw runs on your own machine, so a quick prerequisites check saves you trouble later. Three things matter: Node, your OS, and an LLM API key.
Node Is the Engine
OpenClaw is a CLI built on Node.js, so Node must be installed first. It is the runtime that actually executes OpenClaw on your computer.
Which Node Version
The recommended version is Node 24. Node 22 LTS also works, but only at 22.19 or newer, which is the minimum OpenClaw supports.
Check Your Node Version
Run this in your terminal to see what you have. The node --version command prints the installed version so you can compare it.
node --versionYour Operating System
OpenClaw works on any major OS: macOS 15 or newer, Windows 10 20H2+ or 11, and Linux. You are not locked into one platform.
You Bring the AI
OpenClaw does not ship its own model, so you need an API key from your chosen LLM provider. That key is what powers the assistant's thinking.
Why You Pick the Provider
Because OpenClaw is local-first, the provider choice is yours. You connect your own key, so you stay in control of cost and which model runs.
Keep the Key Safe
Treat your API key like a password. A secret key grants access to a paid account, so never paste it into chats or commit it to a public repo. 🔑
Local Means Your Hardware
Everything runs on your hardware, so make sure the machine you choose will stay on when you want the assistant available. No cloud server is involved.
A Terminal You Trust
Since OpenClaw is a CLI, you install and run it from a terminal. Any standard shell works, on macOS, Windows, or Linux alike.
Your Pre-Flight List
You are ready when three boxes are ticked: a checklist of Node 24 (or 22.19+), a supported OS, and an LLM API key in hand. Then install can begin.
Quick Check
Let us confirm the minimum Node requirement.
Recap
You now know the three prerequisites: Node 24 (or 22.19+), a supported OS, and your own LLM API key kept safe. With those ready, you can install OpenClaw. ✅
常见问题解答
「检查先决条件」课时是免费的吗?
是的 — 「检查先决条件」的完整文本可在网页上免费阅读。要进行交互式练习(内置代码编辑器和全天候 AI 导师)并解锁 OpenClaw Academy 课程的其余内容,请升级到 CoddyKit PRO。 OpenClaw Academy 课程共包含 4 节课。
「检查先决条件」这节课中我会学到什么?
安装前请确认您拥有 Node 24(或最低 Node 22.19+)、受支持的 OS,以及所选 LLM 提供商提供的 API 密钥 你通过在浏览器中直接运行的动手代码来练习 OpenClaw Academy,全天候 AI 导师会在你学习这节课的过程中回答你的问题。
学习 OpenClaw Academy 需要有经验吗?
无需任何先前经验。CoddyKit 上的 OpenClaw Academy 课程适合初学者到高级学习者,你可以从这里开始或从头开始,按照自己的节奏学习。 这是第 1 节课,共 4 节。
「检查先决条件」课时需要多长时间?
大多数 CoddyKit 课程大约需要 5–10 分钟。每节课都很精短且互动,所以你能稳步进步,并在网页和应用中从离开的地方继续。
我能在这节 OpenClaw Academy 课中编写并运行代码吗?
能。每节 OpenClaw Academy 课都包含内置代码编辑器,你可以在浏览器中直接编写并运行真实代码,并获得即时 AI 反馈 — 无需本地设置。