Skip to content

Commit a563d7c

Browse files
committed
wip
1 parent ce5586f commit a563d7c

File tree

1 file changed

+12
-25
lines changed

1 file changed

+12
-25
lines changed

README.md

Lines changed: 12 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ sh <(curl -fsSL https://yoink.sh) --stream mxcl/the-package-managinat0r | sudo t
3838
$ p0r run zopflipng in.png out.png # alias: x
3939
## ^^ emphermeral; downloads fresh every time
4040

41-
$ sudo p0r install openclaw
41+
$ sudo p0r install npm:openclaw
4242
/usr/local/bin/openclaw
4343
# ^^ humans don’t let Claws modify themselves
4444

@@ -62,32 +62,19 @@ That’s fine. I like it. I think it's good. Maybe you will too.
6262

6363
## Caveats
6464

65-
- Mostly we are not going to package things from eg. `npm`, so you will need
66-
to `p0r run npx`.
67-
> [!NOTE]
68-
> Having said this; We recommend that you not `npm install -g` anything:
69-
> `npm` is not a package manager: it’s a dependency manager.
70-
- We make exceptions arbitarily
71-
- eg. OpenClaw is a special case because we do not think it’s a great idea
72-
to let OpenClaw modify.
73-
- `p0r run` always does an update check unless you run with a specific
74-
version, eg. `p0r run zopflipng@1.0.3 …`
75-
- notably `npx` does not behave this way and requires eg. `npx foo@latest`
76-
but we do not have the same scope—all our packages are ephemeral
77-
- Homebrew formula with:
78-
- `post_install` steps are not supported via `p0r install` or `p0r run`
79-
- `pre_install` steps are not supported via `p0r install` or `p0r run`
80-
We may figure out how to support these. But for now we’re just not going to
81-
do this because we assume we will screw it up.
82-
- `service` metadata does not block installs, but `p0r` does not manage
83-
those services for you. The service plist is in `/opt/foo` if you want.
84-
85-
### Caveats Relative to Brew Specifically
65+
- `p0r run` is ephemeral. It always downloads and it always downloads the
66+
latest version unless you specify, eg. `p0r run zopflipng@1.0.3 …`
8667

68+
> [!NOTE]
69+
>
70+
> this is a feature. We are operating in an agentic world where agents
71+
> can literally modify binaries if they want to be malicious. Everything
72+
> must be installed by a human and if not then the tool that is installed
73+
> by root that is executing things should never trust a user-writable cache
74+
- there is no `p0r services` command. Use `brew`.
75+
- some Homebrew formulae are not supported. If you come across them, report
76+
this as a bug.
8777
- We do not and will likely never support casks.
88-
- Many vast formula like imagemagick-full and ffmpeg-full just aint gunna
89-
install until we go through all the deps with complex install hooks and
90-
rewrite them to be more self contained. We may never do this.
9178

9279
## Why Did You Do This?
9380

0 commit comments

Comments
 (0)