#Fáciles to install openclaw

1 messages · Page 1 of 1 (latest)

hard tree
#

curl -fsSL https://openclaw.ai/install.cmd -o install.cmd && install.cmd && del install.cmd First I used this but had issues installing node js then tried through powershell whre i was able to get node js but failed now im back to the first command

Microsoft Windows [Versión 10.0.26200.7623]
(c) Microsoft Corporation. Todos los derechos reservados.

C:\Users\Lou>curl -fsSL https://openclaw.ai/install.cmd -o install.cmd && install.cmd && del install.cmd

OpenClaw Installer

[OK] Windows detected

[OK] Node.js v24.13.1 found
[*] Installing OpenClaw (openclaw@latest)...
node.exe : npm error code ENOENT
En línea: 1 Carácter: 1

  • & "C:\Program Files\nodejs/node.exe" "C:\Program Files\nodejs/node_mo ...
  •   + CategoryInfo          : NotSpecified: (npm error code ENOENT:String) [], RemoteException
      + FullyQualifiedErrorId : NativeCommandError
vapid hullBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution

molten creekBOT
#

That npm error code ENOENT right after “Installing OpenClaw…” almost always means your Node install is missing npm (or npm’s files). The installer is trying to run npm from:

C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js

…but that path isn’t there (or npm can’t be found).

1) Quick checks (please paste output)

Run these in PowerShell:

node -v
npm -v
where node
where npm
dir "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js"
#
  • If npm -v fails or the npm-cli.js file is missing → your Node install is incomplete/broken.

2) Most reliable fix: reinstall Node (prefer Node 22 LTS)

On Windows we recommend installing Node via winget:

winget install OpenJS.NodeJS.LTS

(If you already have Node installed, uninstall it from Settings → Apps, then reinstall. If C:\Program Files\nodejs is left behind after uninstall, delete that folder before reinstalling.)

Then open a new terminal and confirm:

node -v
npm -v
#

3) Re-run the supported Windows installer (PowerShell)

Instead of install.cmd, try:

iwr -useb https://openclaw.ai/install.ps1 | iex

4) If you want the smoothest Windows experience: use WSL2

Native Windows can be finicky; WSL2 is the recommended path:
https://docs.openclaw.ai/platforms/windows

If you paste the outputs from step (1), I can tell you immediately which case you’re in (missing npm vs PATH vs something else).

hard tree
#

on step 1 it found the fiele so all good, what next?

hard tree