Skip to content

Commit 009c595

Browse files
committed
Provide an easier binary manual installation example command
To save some time for Manual Installation/ ARM Mac users. Signed-off-by: wey-gu <[email protected]> Signed-off-by: wey-gu <[email protected]>
1 parent e482531 commit 009c595

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,14 @@ 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+
sudo -i
119+
VERSION=$(wget -cq https://api.github.com/repos/lima-vm/lima/releases/latest -O - | jq -r .tag_name )
120+
wget -q https://github.com/lima-vm/lima/releases/download/$VERSION/lima-${VERSION:1}-`uname`-`uname -m`.tar.gz -O - | tar -xzC /usr/local
121+
```
115122

116123
- To install Lima from the source, run `make && make install`.
117124

0 commit comments

Comments
 (0)