Skip to content

Commit b4c1bdf

Browse files
committed
README.md: mention the binary releases
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
1 parent 44e225a commit b4c1bdf

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

README.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ Unlike `vde_vmnet`, `socket_vmnet` does not depend on VDE.
1313
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
1414

1515
- [Install](#install)
16+
- [From binary](#from-binary)
1617
- [From source](#from-source)
1718
- [From Homebrew](#from-homebrew)
1819
- [From MacPorts](#from-macports)
@@ -39,6 +40,27 @@ Unlike `vde_vmnet`, `socket_vmnet` does not depend on VDE.
3940

4041
Requires macOS 10.15 or later.
4142

43+
### From binary
44+
45+
```bash
46+
VERSION="$(curl -fsSL https://api.github.com/repos/lima-vm/socket_vmnet/releases/latest | jq -r .tag_name)"
47+
FILE="socket_vmnet-${VERSION:1}-$(uname -m).tar.gz"
48+
49+
# Download the binary archive
50+
curl -OSL "https://github.com/lima-vm/socket_vmnet/releases/download/${VERSION}/${FILE}"
51+
52+
# (Optional) Attest the GitHub Artifact Attestation using GitHub's gh command (https://cli.github.com)
53+
gh attestation verify --owner=lima-vm "${FILE}"
54+
55+
# (Optional) Preview the contents of the binary archive
56+
tar tzvf "${FILE}"
57+
58+
# Install /opt/socket_vmnet from the binary archive
59+
sudo tar Cxzvf / "${FILE}" opt/socket_vmnet
60+
```
61+
62+
This downloads and installs the latest release from <https://github.com/lima-vm/socket_vmnet/releases>.
63+
4264
### From source
4365
```bash
4466
sudo make install.bin

0 commit comments

Comments
 (0)