openclaw/docs/install
Seb Slight db137dd65d
fix(paths): respect OPENCLAW_HOME for all internal path resolution (#12091)
* fix(paths): respect OPENCLAW_HOME for all internal path resolution (#11995)

Add home-dir module (src/infra/home-dir.ts) that centralizes home
directory resolution with precedence: OPENCLAW_HOME > HOME > USERPROFILE > os.homedir().

Migrate all path-sensitive callsites: config IO, agent dirs, session
transcripts, pairing store, cron store, doctor, CLI profiles.

Add envHomedir() helper in config/paths.ts to reduce lambda noise.
Document OPENCLAW_HOME in docs/help/environment.md.

* fix(paths): handle OPENCLAW_HOME '~' fallback (#12091) (thanks @sebslight)

* docs: mention OPENCLAW_HOME in install and getting started (#12091) (thanks @sebslight)

* fix(status): show OPENCLAW_HOME in shortened paths (#12091) (thanks @sebslight)

* docs(changelog): clarify OPENCLAW_HOME and HOME precedence (#12091) (thanks @sebslight)
2026-02-08 16:20:13 -05:00
..
ansible.md docs: canonicalize docs paths and align zh navigation (#11428) 2026-02-07 15:40:35 -05:00
bun.md Docs: add nav titles across docs (#5689) 2026-01-31 15:04:03 -06:00
development-channels.md Docs: add nav titles across docs (#5689) 2026-01-31 15:04:03 -06:00
docker.md docs: canonicalize docs paths and align zh navigation (#11428) 2026-02-07 15:40:35 -05:00
exe-dev.md fix: silence unused hook token url param (#9436) 2026-02-05 18:08:29 -08:00
fly.md docs: restructure Get Started tab and improve onboarding flow (#9950) 2026-02-05 17:45:01 -05:00
gcp.md Docs: enable markdownlint autofixables except list numbering (#10476) 2026-02-06 10:08:59 -05:00
hetzner.md docs: restructure Get Started tab and improve onboarding flow (#9950) 2026-02-05 17:45:01 -05:00
index.md fix(paths): respect OPENCLAW_HOME for all internal path resolution (#12091) 2026-02-08 16:20:13 -05:00
installer.md docs: fix markdownlint fragments + headings 2026-02-06 15:45:39 -08:00
macos-vm.md docs: restructure Get Started tab and improve onboarding flow (#9950) 2026-02-05 17:45:01 -05:00
migrating.md Docs: add nav titles across docs (#5689) 2026-01-31 15:04:03 -06:00
nix.md fix(paths): respect OPENCLAW_HOME for all internal path resolution (#12091) 2026-02-08 16:20:13 -05:00
node.md Docs: sharpen Install tab to stop duplicating Getting Started (#10416) 2026-02-06 08:55:05 -05:00
northflank.mdx Docs: enable markdownlint autofixables except list numbering (#10476) 2026-02-06 10:08:59 -05:00
railway.mdx Docs: enable markdownlint autofixables except list numbering (#10476) 2026-02-06 10:08:59 -05:00
render.mdx Docs: enable markdownlint autofixables except list numbering (#10476) 2026-02-06 10:08:59 -05:00
uninstall.md revert(docs): undo markdownlint autofix churn 2026-02-06 10:00:08 -05:00
updating.md Docs: enable markdownlint autofixables except list numbering (#10476) 2026-02-06 10:08:59 -05:00