You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> Before using `dstack` through CLI or API, set up a `dstack` server. If you already have a running `dstack` server, you only need to [set up the CLI](#set-up-the-cli).
36
42
37
-
### Set up the server
43
+
####Set up the server
38
44
39
-
#### (Optional) Configure backends
45
+
#####(Optional) Configure backends
40
46
41
47
To use `dstack` with cloud providers, configure backends
42
48
via the `~/.dstack/server/config.yml` file.
@@ -46,21 +52,21 @@ For more details on how to configure backends, check [Backends](https://dstack.a
46
52
> For using `dstack` with on-prem servers, create [SSH fleets](https://dstack.ai/docs/concepts/fleets#ssh)
47
53
> once the server is up.
48
54
49
-
#### Start the server
55
+
#####Start the server
50
56
51
57
You can install the server on Linux, macOS, and Windows (via WSL 2). It requires Git and
52
58
OpenSSH.
53
59
54
-
##### pip
60
+
##### uv
55
61
56
62
```shell
57
-
$ pip install "dstack[all]" -U
63
+
$ uv tool install "dstack[all]" -U
58
64
```
59
65
60
-
##### uv
66
+
##### pip
61
67
62
68
```shell
63
-
$ uv tool install "dstack[all]" -U
69
+
$ pip install "dstack[all]" -U
64
70
```
65
71
66
72
Once it's installed, go ahead and start the server.
@@ -73,25 +79,28 @@ The admin token is "bbae0f28-d3dd-4820-bf61-8f4bb40815da"
73
79
The server is running at http://127.0.0.1:3000/
74
80
```
75
81
76
-
For more details on server configuration options, see the
82
+
> For more details on server configuration options, see the
0 commit comments