Skip to content

Commit 030600b

Browse files
committed
Added warning about distribution packages and Brew instructions
1 parent 78ed2dc commit 030600b

1 file changed

Lines changed: 19 additions & 1 deletion

File tree

docs/usage.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,17 +33,35 @@ curl -fL --output /tmp/pie.phar https://github.com/php/pie/releases/latest/downl
3333

3434
### Distribution packages
3535

36-
**On Fedora and Enterprise Linux 10**
36+
> [!WARNING]
37+
> Distribution packages are not maintained by PIE, so may not have the latest version, may have patches applied, or
38+
> the instructions here may be out of date. You should verify the distribution packages before using them.
39+
40+
#### Fedora and Enterprise Linux 10
3741

3842
On Enterprise Linux (CentOS, RHEL, AlmaLinux, RockyLinux, and other clones) you
3943
need to enable the [EPEL](https://docs.fedoraproject.org/en-US/epel/) repository.
4044

4145
```shell
4246
sudo dnf install pie
47+
48+
# If you have `gh`, you can verify PIE is authentic:
49+
gh attestation verify --owner=php $(which pie)
4350
```
4451

4552
Package information: [pie](https://src.fedoraproject.org/rpms/pie)
4653

54+
#### Homebrew
55+
56+
PIE can be installed with Homebrew with:
57+
58+
```shell
59+
brew install pie
60+
61+
# If you have `gh`, you can verify PIE is authentic:
62+
gh attestation verify --owner=php $(which pie)
63+
```
64+
4765
### Docker installation
4866

4967
PIE is published as binary-only Docker image, so you can use it easily during your Docker build:

0 commit comments

Comments
 (0)