Skip to content

sudo pkgm install doesn't work #68

@fengjianyun

Description

@fengjianyun

pkgx version : 2.7.0
pkgm version : 0.11.1
OS : WSL 2, Ubutun 20.04.6

pkgm install without sudo works, but with sudo I have this error message:

$ sudo pkgm install node
sudo: unable to execute /root/.pkgx/pkgx.sh/v2.7.0/bin/pkgx: Permission denied

But I can run this

$ sudo /root/.pkgx/pkgx.sh/v2.7.0/bin/pkgx -v
pkgx 2.7.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions