# Highlights

## `pkgx`

`pkgx` is a 4 MiB, standalone binary that can *run anything*.

### Quick Start

```sh
brew install pkgx || curl https://pkgx.sh | sh
```

```pwsh
irm https://pkgx.sh | iex  # Windows
```

{% hint style="info" %}
[Installation Guide](https://docs.pkgx.sh/pkgx/installing-pkgx)
{% endhint %}

### Using `pkgx`

* [Run Anything](https://docs.pkgx.sh/pkgx/pkgx)
* [Scripting](https://docs.pkgx.sh/pkgx/scripting)

## The `pkgx` Ecosystem

`pkgx` is more than a package runner, it’s a composable primitive that can be\
used to build a whole ecosystem of tools. Here’s what we’ve built so far:

### `dev`

`dev` uses shellcode and `pkgx` to create “virtual environments” for any project\
and any toolset.

{% hint style="info" %}
<https://github.com/pkgxdev/dev>
{% endhint %}

### `pkgm`

`pkgm` installs `pkgx` packages to `/usr/local`.

{% hint style="info" %}
<https://github.com/pkgxdev/pkgm>
{% endhint %}

### `mash`

`mash` is a package manager for scripts that use `pkgx` to make the whole open\
source ecosystem available to them.

{% hint style="info" %}
<https://github.com/pkgxdev/mash>
{% endhint %}

### `pkgo` (Package…GO!)

Some Open Source resists packaging and instead includes long installation\
instructions that can be… tedious. `pkgo` makes using amazing tools like[“Stable Diffusion WebUI”](https://github.com/AUTOMATIC1111/stable-diffusion-webui) as easy as typing `pkgo` (thanks to `pkgx`).

{% hint style="info" %}
<https://github.com/pkgxdev/pkgo>
{% endhint %}

## Support

[Discord](https://discord.gg/rNwNUY83XS)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.pkgx.sh/readme.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
