Skip to content

Commit 278abae

Browse files
authored
Merge pull request #208 from wey-gu/binary-manual-installation-hint
Provide an easier binary manual installation example command
2 parents 4d3aafa + 25902ff commit 278abae

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,13 @@ See https://github.com/simnalamburt/homebrew-x for the further information of th
111111
#### Install Lima
112112

113113
- Download the binary archive of Lima from https://github.com/lima-vm/lima/releases ,
114-
and extract it under `/usr/local` (or somewhere else).
114+
and extract it under `/usr/local` (or somewhere else). For instance:
115+
116+
```bash
117+
brew install jq
118+
VERSION=$(curl -fsSL https://api.github.com/repos/lima-vm/lima/releases/latest | jq -r .tag_name)
119+
curl -fsSL https://github.com/lima-vm/lima/releases/download/${VERSION}/lima-${VERSION:1}-$(uname -s)-$(uname -m).tar.gz | tar Cxzvm /usr/local
120+
```
115121

116122
- To install Lima from the source, run `make && make install`.
117123

0 commit comments

Comments
 (0)