Skip to content

Commit

Permalink
Follow-up to "Provide an easier binary manual installation example co…
Browse files Browse the repository at this point in the history
…mmand"

- 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]>
  • Loading branch information
AkihiroSuda committed Sep 15, 2021
1 parent 009c595 commit 25902ff
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,8 @@ and extract it under `/usr/local` (or somewhere else). For instance:

```bash
brew install jq
sudo -i
VERSION=$(wget -cq https://api.github.com/repos/lima-vm/lima/releases/latest -O - | jq -r .tag_name )
wget -q https://github.com/lima-vm/lima/releases/download/$VERSION/lima-${VERSION:1}-`uname`-`uname -m`.tar.gz -O - | tar -xzC /usr/local
VERSION=$(curl -fsSL https://api.github.com/repos/lima-vm/lima/releases/latest | jq -r .tag_name)
curl -fsSL https://github.com/lima-vm/lima/releases/download/${VERSION}/lima-${VERSION:1}-$(uname -s)-$(uname -m).tar.gz | tar Cxzvm /usr/local
```

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

0 comments on commit 25902ff

Please sign in to comment.