Skip to content

Allow installation as non-root #246

Description

@patrickherrera

Can we please relax the requirement that this needs to be installed via sudo?

I currently download the script first and then edit it:

Linux)
    FILE="${FILE}_linux"
    TARGET="/home/developer/.local/bin"
    ;;

Installing it as myself works perfectly then.

It could default to ~/.local/bin for non-root execution, otherwise stay with /usr/local/bin. Or just allow the caller to override the value of TARGET via the environment and/or a CLI param and use whatever they wish.

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