How pkgx Works: A Conceptual Overview
How pkgx
Works: A Conceptual Overview
pkgx
Works: A Conceptual OverviewEverything pkgx
does involves initially creating package environment. It then either runs commands inside those environments or injects those environments into your running shell.
A command like:
Is in fact implicitly:
Which more precisely† is in fact:
† see disambiguation
The +pkg
syntax creates the package environment that node start
is then run within.
In fact you can see that env if you invoke pkgx
raw:
This is a composable primitive, and is used by our shellcode, eg. env +node
is basically just:
And thus you could imagine pkgx npm start
to be:
Last updated