Skip to content

Commit 25902ff

Browse files
committed
Follow-up to "Provide an easier binary manual installation example command"
- use `m` option of `tar`, to avoid hitting `./: Can't restore time` error - sudo is not needed for extracting the archive onto /usr/local - wget -> curl, as wget is not installed by default Signed-off-by: Akihiro Suda <[email protected]>
1 parent 009c595 commit 25902ff

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,9 +115,8 @@ and extract it under `/usr/local` (or somewhere else). For instance:
115115

116116
```bash
117117
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
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
121120
```
122121

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

0 commit comments

Comments
 (0)