pkgx
is a single, standalone binary that can run anything.
brew install pkgxdev/made/pkgx
$ deno
command not found: deno
$ pkgx deno
Deno 1.36.3
> ^D
$ deno
command not found: deno
# ^^ nothing was installed; your system remains untouched
$ pkgx node@14 --version
Node.js v14.21.3
$ pkgx python@2 --version
Python 2.7.18
pkgx
puts the whole open source ecosystem at your fingertips and its
optional shell integration makes workflows with that open source
even more seamless.
$ env +go@1.16 # do `pkgx integrate --dry-run` first
added ~/.pkgx/go.dev/v1.16 to environment
(+go) $ go
Go is a tool for managing Go source code.
#…
(+go) $ env | grep go
PATH=~/.pkgx/go.dev/v1.16.15/bin:$PATH
LIBRARY_PATH=~/.pkgx/go.dev/v1.16.15/lib
(+go) $ env -go
removed ~/.pkgx/go.dev/v1.16 from environment
$ go
command not found: go
Tools are available for the duration of your terminal session.
If you need them for longer, eg. pkgx install go
.
dev
dev
is a separate tool that leverages pkgx's core
features to auto-detect and install project dependencies, seamlessly
integrating them into your shell and editor.
my-rust-proj $ dev # do `pkgx integrate --dry-run` first
dev: found Cargo.toml; env +cargo +rust
(+cargo+rust) my-rust-proj $ cargo build
Compiling my-rust-proj v0.1.0
#…
The dev
tool requires our shell integration to work.
brew install pkgxdev/made/pkgx
no
brew
? docs.pkgx.sh/installing-w/out-brew
pkgx integrate --dry-run # docs.pkgx.sh/shell-integration
docs.pkgx.sh is a comprehensive manual and user guide for pkgx
.
pkgx
itself; clone it and then pkgx deno task
to list
entrypoints for hackersIf you have questions or feedback: