Skip to content

[Bug]: Windows install script HOME variable error #1223

Description

@dotned

Summary

On running the install.ps1 as per instructions it errors with Invoke-Expression: Cannot overwrite variable HOME because it is read-only or constant.

To pass this I manually edited the install script and substituted $user for $userHome in all four instances...

e.g.

Image

... to ...

Image

Steps to reproduce

  1. Open a new PowerShell terminal
  2. Execute the "iwr -useb https://clawd.bot/install.ps1 | iex" command

Expected behavior

Installation to succeed.

Actual behavior

Presented with the following...

iwr -useb https://clawd.bot/install.ps1 | iex

  Clawdbot Installer

[OK] Windows detected
Invoke-Expression: Cannot overwrite variable HOME because it is read-only or constant.

Environment

  • Clawdbot version: latest
  • OS: Windows 11
  • Install method (pnpm/npx/docker/etc): install.ps1

Logs or screenshots

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions