Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 18 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,20 +43,34 @@ Requires macOS 10.15 or later.

### From binary

Get the latest release version:

```bash
VERSION="$(curl -fsSL https://api.github.com/repos/lima-vm/socket_vmnet/releases/latest | jq -r .tag_name)"
FILE="socket_vmnet-${VERSION:1}-$(uname -m).tar.gz"
```

# Download the binary archive

@AkihiroSuda AkihiroSuda Jul 15, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alternative ideas to keep it a single block:

  • Prepend [ -n "$ZSH_VERSION" ] && setopt interactive_comments
  • Or, use : instead of #

Download the binary archive:

```bash
curl -OSL "https://github.com/lima-vm/socket_vmnet/releases/download/${VERSION}/${FILE}"
```

(Optional) Attest the GitHub Artifact Attestation using GitHub's [`gh`](https://cli.github.com) command:

# (Optional) Attest the GitHub Artifact Attestation using GitHub's gh command (https://cli.github.com)
```bash
gh attestation verify --owner=lima-vm "${FILE}"
```

(Optional) Preview the contents of the binary archive:

# (Optional) Preview the contents of the binary archive
```bash
tar tzvf "${FILE}"
```

Install `/opt/socket_vmnet` from the binary archive:

# Install /opt/socket_vmnet from the binary archive
```bash
sudo tar Cxzvf / "${FILE}" opt/socket_vmnet
```

Expand Down
Loading