Skip to content

Reduce installation dependencies #1215

@kishaningithub

Description

@kishaningithub

Problem

I am trying to install pkgx into an EC2 machine using the following command

curl --retry 3 -fsSL https://pkgx.sh | sh

but the installation gets stuck over here

installing: /usr/local/bin/pkgx
######################################################################## 100.0%
pkgx 2.7.0
Download ▱▱▰▰▰▰ [02:45] 3/6
  https://deno.land/x/libpkgx@v0.21.0/mod.ts

This is happening because as of now deno.land is not in my org's allow list.

Proposal (Thoughts)

This made me think, if pkgx is a standalone binary why does it need to install packages from else were? Can this dependency be removed altogether? If not, can you refer libpkgx from jsr instead of deno.land?

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