#1215·pkgx

Reduce installation dependencies

Author: kishaningithubCreated Nov 14, 2025Updated Nov 15, 2025

Problem

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

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

but the installation gets stuck over here

bash
installing: /usr/local/bin/pkgx
######################################################################## 100.0%
pkgx 2.7.0
Download ▱▱▰▰▰▰ [02:45] 3/6
  https://deno.land/x/[email protected]/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?