@@ -5,25 +5,38 @@ weight: 1
5
5
> ** NOTE**
6
6
> Lima is not regularly tested on ARM Mac (due to lack of CI).
7
7
8
- ## Package Manager
8
+ Prerequisite:
9
9
10
- ### Homebrew
10
+ - QEMU 7.0 or later (Required, only if QEMU driver is used)
11
11
12
- Homebrew can be used to install lima on macOS and Linux.
12
+ {{< tabpane text=true >}}
13
13
14
- ``` console
14
+ {{% tab header="Homebrew" %}}
15
+ ``` bash
15
16
brew install lima
16
17
```
17
18
18
- [ Homebrew package] ( https://github.com/Homebrew/homebrew-core/blob/master/Formula/l/lima.rb ) is available here.
19
+ Homebrew formular is available [ here] ( https://github.com/Homebrew/homebrew-core/blob/master/Formula/l/lima.rb ) .
20
+ Supports macOS and Linux.
21
+ {{% /tab %}}
19
22
20
- ## Manual installation
23
+ {{% tab header="MacPorts" %}}
24
+ ``` bash
25
+ sudo port install lima
26
+ ```
21
27
22
- ### Prerequisite
28
+ Port: < https://ports.macports.org/port/lima/ >
29
+ {{% /tab %}}
23
30
24
- - QEMU 7.0 or later (Required, only if QEMU driver is used)
31
+ {{% tab header="Nix" %}}
32
+ ``` bash
33
+ nix-env -i lima
34
+ ```
35
+
36
+ Nix file: < https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/virtualization/lima/default.nix >
37
+ {{% /tab %}}
25
38
26
- ### Install Lima from binary
39
+ {{% tab header="Binary" %}}
27
40
Download the binary archive of Lima from < https://github.com/lima-vm/lima/releases > ,
28
41
and extract it under ` /usr/local ` (or somewhere else).
29
42
@@ -32,7 +45,16 @@ brew install jq
32
45
VERSION=$( curl -fsSL https://api.github.com/repos/lima-vm/lima/releases/latest | jq -r .tag_name)
33
46
curl -fsSL " https://github.com/lima-vm/lima/releases/download/${VERSION} /lima-${VERSION: 1} -$( uname -s) -$( uname -m) .tar.gz" | tar Cxzvm /usr/local
34
47
```
48
+ {{% /tab %}}
35
49
36
- ### Install Lima from source
50
+ {{% tab header="Source" %}}
51
+ The source code can be found at < https://github.com/lima-vm/lima.git >
37
52
38
- To install Lima from the source, run ` make && make install ` .
53
+ ``` bash
54
+ git clone https://github.com/lima-vm/lima.git
55
+ cd lima
56
+ make
57
+ make install
58
+ ```
59
+ {{% /tab %}}
60
+ {{< /tabpane >}}
0 commit comments