#Update Query

1 messages Β· Page 1 of 1 (latest)

dreamy geyser
#

Hi, I have moved .openclaw and npm both directories from Home dir to E drive in a single folder, let say E:/openclaw . Currently it is working. I don't have any issues.

If I update it from the terminal, where will it be updated, in C or E?
Because I don't want to move files from c to e drive after every update.

Command: openclaw update

@oak remnant and anyone.

wet kilnBOT
#

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

dreamy geyser
#

@oak remnant , also how can i make it to update into custom path?

oak remnantBOT
#

Good question β€” openclaw update updates where your current OpenClaw install lives (the global package location), not automatically β€œC or E” by itself.

Quick way to check exactly where it will update:

(openclaw update status --json | ConvertFrom-Json).update.root
npm root -g
where openclaw

If those point to E:\..., updates stay on E.
If they point to C:\..., updates go to C.

To force updates into a custom path on Windows (npm install), set npm global prefix to E and reinstall once:

#
npm config set prefix "E:\openclaw\npm-global"
npm i -g openclaw@latest

Then make sure E:\openclaw\npm-global is in your user PATH, open a new terminal, and verify again with:

npm root -g
(openclaw update status --json | ConvertFrom-Json).update.root

Also for your data/config location, set this so state stays on E too:

setx OPENCLAW_STATE_DIR "E:\openclaw\.openclaw"