Skip to content

[Bug]: sudo should not be required when installing as root #1933

@danielo515

Description

@danielo515

Summary

When I was trying to install using the one line script, despite I was root already the script requires the sudo binary to exist. It's not a big deal, but should not be necessary

Steps to reproduce

  1. Login as root
  2. try to install using the one liner curl -fsSL https://clawd.bot/install.sh | bash
  3. See the error

Expected behavior

It should just install without using sudo

Actual behavior

Errors out because it wants sudo

Environment

  • Clawdbot version:
  • OS: Debian 13
  • Install method (pnpm/npx/docker/etc): one liner

Logs or screenshots

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions