Skip to content

Commit c4c359f

Browse files
committed
README tweaks
1 parent eb1ef0e commit c4c359f

File tree

7 files changed

+144
-142
lines changed

7 files changed

+144
-142
lines changed

.gitbook.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
root:
22
./docs/
33
redirects:
4-
installing-w/out-brew: getting-started.md
4+
installing-w/out-brew: installing-pkgx.md
55
pantry: pkging/pantry.md
66
getting-started: getting-started.md
7-
quickstart: getting-started.md
7+
quickstart: installing-pkgx.md
88

99
help/pkg-not-cached: https://github.com/orgs/pkgxdev/discussions/new?category=help&title=pkg-not-cached
1010
help/http-failure: https://github.com/orgs/pkgxdev/discussions/new?category=help&title=http-failure
1111
help/ambiguous-pkgspec: https://github.com/orgs/pkgxdev/discussions/new?category=help&title=ambiguous-pkgspec
1212

1313
# links should never die
14-
docker: getting-started.md
15-
ci-cd: getting-started.md
14+
docker: installing-pkgx.md
15+
ci-cd: installing-pkgx.md
1616
scripts: scripting.md
17-
run-anywhere/terminals: getting-started.md
18-
run-anywhere/docker: getting-started.md
19-
run-anywhere/ci-cd: getting-started.md
17+
run-anywhere/terminals: installing-pkgx.md
18+
run-anywhere/docker: installing-pkgx.md
19+
run-anywhere/ci-cd: installing-pkgx.md
2020
run-anywhere/scripts: scripting.md
2121
pantry.md: pkging/pantry.md
2222
pantry-api: pkging/pantry-api.md

README.md

Lines changed: 15 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
![pkgx.dev](https://pkgx.dev/banner.png)
22

3-
`pkgx` is a 4MB, *standalone* binary that can *run anything*.
3+
`pkgx` is a 4 MiB, standalone binary that can *run anything*.
44

55
[![coverage][]][coveralls] [![teaRank][]](https://tea.xyz)
66

@@ -50,7 +50,7 @@ Python 2.7.18
5050
* <details><summary>macOS</summary><br>
5151

5252
* macOS >= 11
53-
* x86-64 & Apple Silicon
53+
* 64 bit Intel & Apple Silicon
5454

5555
</details>
5656
* <details><summary>Linux</summary><br>
@@ -66,6 +66,8 @@ Python 2.7.18
6666
</details>
6767
* <details><summary>Docker</summary><br>
6868

69+
We provide an image with `pkgx` in it:
70+
6971
```sh
7072
$ pkgx docker run -it pkgxdev/pkgx
7173

@@ -75,6 +77,13 @@ Python 2.7.18
7577
>
7678
```
7779

80+
You can use this image to try out (pretty much) any version of any program:
81+
82+
```sh
83+
$ docker run pkgxdev/pkgx pkgx node@21.1 --version
84+
v21.1.0
85+
```
86+
7887
Or in a `Dockerfile`:
7988

8089
```Dockerfile
@@ -90,13 +99,11 @@ Python 2.7.18
9099
RUN pkgx python@3.10 -m http.server 8000
91100
```
92101

93-
> [docs.pkgx.sh/docker]
94-
95102
</details>
96103
* <details><summary>CI/CD</summary><br>
97104

98105
```yaml
99-
- uses: pkgxdev/setup@v2
106+
- uses: pkgxdev/setup@v3
100107
- run: pkgx shellcheck
101108
```
102109
@@ -107,8 +114,6 @@ Python 2.7.18
107114
pkgx shellcheck
108115
```
109116

110-
> [docs.pkgx.sh/ci-cd]
111-
112117
</details>
113118
* <details><summary>Scripts</summary><br>
114119

@@ -123,28 +128,19 @@ Python 2.7.18
123128
</details>
124129
* <details><summary>Editors</summary><br>
125130

126-
```sh
127-
$ cd myproj
128-
129-
myproj $ env +cargo
130-
(+cargo) myproj $ code .
131-
```
132-
133-
Or use [`dev`][dev]; a separate tool that uses the pkgx primitives to
131+
Use [`dev`][dev]; a separate tool that uses the pkgx primitives to
134132
automatically determine and utilize your dependencies based on your
135133
project’s keyfiles.
136134

137135
```sh
138136
$ cd myproj
139137

140138
myproj $ dev
141-
env +cargo +rust
139+
+cargo +rust
142140

143-
(+cargo+rust) my-rust-project $ code .
141+
myproj $ code .
144142
```
145143

146-
> [docs.pkgx.sh/editors]
147-
148144
</details>
149145

150146
&nbsp;

docs/README.md

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
# `pkgx`
22

3-
`pkgx` is a 4MB, *standalone binary* that can *run anything*.
3+
`pkgx` is a 4 MiB, standalone binary that can *run anything*.
44

55
## Quick Start
66

77
```sh
88
brew install pkgx || curl https://pkgx.sh | sh
99
```
1010

11-
[Getting Started Guide](getting-started.md)
11+
{% hint style='info' %}
12+
[Installation Guide](installing-pkgx.md)
13+
{% endhint %}
1214

1315
## Using `pkgx`
1416

@@ -25,17 +27,23 @@ used to build a whole ecosystem of tools. Here’s what we’ve built so far:
2527
`dev` uses shellcode and `pkgx` to create “virtual environments” for any
2628
project and any toolset.
2729

28-
> [https://github.com/pkgxdev/dev](https://github.com/pkgxdev/dev)
30+
{% hint style='info' %}
31+
[https://github.com/pkgxdev/dev](https://github.com/pkgxdev/dev)
32+
{% endhint %}
2933

3034
## `pkgm`
3135

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

34-
> [https://github.com/pkgxdev/pkgm](https://github.com/pkgxdev/pkgm)
38+
{% hint style='info' %}
39+
[https://github.com/pkgxdev/pkgm](https://github.com/pkgxdev/pkgm)
40+
{% endhint %}
3541

3642
## `mash`
3743

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

41-
> [https://github.com/pkgxdev/mash](https://github.com/pkgxdev/mash)
47+
{% hint style='info' %}
48+
[https://github.com/pkgxdev/mash](https://github.com/pkgxdev/mash)
49+
{% endhint %}

docs/SUMMARY.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
‌# Summary​
22

33
* [Highlights](README.md)
4-
* [Installing `pkgx`](getting-started.md)
54

65
## `pkgx`
76

7+
* [Installing `pkgx`](installing-pkgx.md)
88
* [Getting Started](pkgx.md)
99
* [Scripting](scripting.md)
1010

@@ -14,7 +14,6 @@
1414
* [`pkgm`](https://github.com/pkgxdev/pkgm)
1515
* [`mash`](https://github.com/pkgxdev/mash)
1616
17-
1817
## Appendix
1918

2019
* [FAQ](faq.md)

docs/deeper-dives/conceptual-overview.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
# Appendix
2-
3-
## How `pkgx` Works: A Conceptual Overview
1+
# How `pkgx` Works: A Conceptual Overview
42

53
Everything `pkgx` does involves initially creating package environment. It then
64
either runs commands inside those environments or injects those environments

docs/getting-started.md

Lines changed: 0 additions & 106 deletions
This file was deleted.

0 commit comments

Comments
 (0)