Skip to content

feat: support non-root installation in install.sh #245

@TimPietruskyRunPod

Description

@TimPietruskyRunPod

Summary

The current install.sh requires root/sudo and hardcodes the install path to /usr/local/bin/. This is a barrier for container environments, restricted user setups, and CI pipelines where root access isn't available.

Desired behavior

  • Detect whether the user is root or non-root
  • Root: install to /usr/local/bin/ (current behavior)
  • Non-root: install to a user-space directory (e.g. ~/.local/bin, ~/bin) that's already in $PATH, or fall back to ~/.local/bin with guidance on adding it to $PATH
  • Remove the jq dependency — use portable grep/sed for JSON parsing
  • Add Linux arm64 support (currently only amd64)
  • macOS: prefer Homebrew if available, fall back to binary download

Related PRs

Notes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions