{"repo":"pkgxdev/setup","free":true,"listed":false,"github":"https://github.com/pkgxdev/setup","clone":"git clone https://github.com/pkgxdev/setup.git","description":"GitHub Action and `curl pkgx.sh | sh`","language":"Shell","stars":143,"topics":["github-actions","installer-script"],"license":"Apache-2.0","category":"workflow-automation","readme_excerpt":"This repository provides the pkgx GitHub Action. It also hosts installer.sh ; the result of curl pkgx.sh . GitHub Action Installs the latest version of pkgx . [!NOTE] v3 & v4 default to pkgx^2 v2 defaults to pkgx^1 See [ action.yml ] for all inputs and outputs, but here’s the usual ones: The easiest way to know if it will work in the action is to try it locally on your computer: See [ @pkgxdev/dev ] to run the dev command in a GitHub Actions compatible manner Should you Cache /.pkgx ? No. pkgx packages are just tarballs. Caching is just a tarball. You’ll likely just slow things down. Version History v5 defaults to pkgx ^2, uses node^24 and doesn’t install any pre-reqs on Linux† v4 defaults to pkgx ^2, uses node^20 and doesn’t install any pre-reqs on Linux† v3 defaults to pkgx ^2 and uses node^20 v2 defaults to pkgx ^1 and uses node^20 v1 defaults to pkgx @latest and uses node^16 v0 should not be used † pkgx requires glibc =2.28, libgcc, libstdc++ and libatomic. Generally images come installed with these. If you are building binaries you may need the -dev versions of these packages also. &nbsp; The pkgx Installer To install pkgx : Or on Windows: Temporary Sandboxes To use pkgx to run a command in a temporary sandbox: This usage of our installer can be useful for demonstrative purposes in READMEs and gists. This syntax is easier to remember: There is the notable caveat that the above easier syntax will not work with bash which is the bash that comes with macOS. Even though macO","default_branch":null,"files":null,"tree":[],"storefront":"/r/pkgxdev","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/pkgxdev/setup/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}