Skip to content

Commit f8b01c4

Browse files
committed
Add cli install section
1 parent 8051326 commit f8b01c4

File tree

1 file changed

+47
-1
lines changed

1 file changed

+47
-1
lines changed

content/en/setup/_index.md

Lines changed: 47 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,51 @@ menu:
77
weight: 1
88
---
99

10-
## Install
10+
## Install the Dagger CLI
11+
12+
### Linux
13+
14+
Download and install the latest `dagger` version:
15+
16+
```bash
17+
curl -L https://dl.dagger.io/dagger/install.sh | BIN_DIR=$HOME/.local/bin sh
18+
```
19+
20+
Verify:
21+
22+
```bash
23+
which dagger
24+
~/.local/bin/dagger
25+
26+
dagger version
27+
dagger v0.12.3 (registry.dagger.io/engine) linux/amd64
28+
```
29+
30+
### macOS
31+
32+
Install the latest `dagger` version using `homebrew`:
33+
34+
```bash
35+
brew install dagger/tap/dagger
36+
```
37+
38+
Or using `sh` and `curl`:
39+
40+
```bash
41+
cd /usr/local
42+
curl -L https://dl.dagger.io/dagger/install.sh | sh
43+
```
44+
45+
Verify:
46+
47+
```bash
48+
which dagger
49+
/opt/homebrew/bin/dagger
50+
51+
dagger version
52+
dagger v0.12.3 (registry.dagger.io/engine:v0.12.3) darwin/arm64
53+
```
54+
55+
56+
1157

0 commit comments

Comments
 (0)