mirror of
https://github.com/open-webui/docs.git
synced 2026-01-04 10:46:26 +07:00
chore: format
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
### Installation with `uv`
|
||||
### Installation with `uv`
|
||||
|
||||
The `uv` runtime manager ensures seamless Python environment management for applications like Open WebUI. Follow these steps to get started:
|
||||
|
||||
@@ -6,12 +6,14 @@ The `uv` runtime manager ensures seamless Python environment management for appl
|
||||
|
||||
Pick the appropriate installation command for your operating system:
|
||||
|
||||
- **macOS/Linux**:
|
||||
- **macOS/Linux**:
|
||||
|
||||
```bash
|
||||
curl -LsSf https://astral.sh/uv/install.sh | sh
|
||||
```
|
||||
|
||||
- **Windows**:
|
||||
- **Windows**:
|
||||
|
||||
```powershell
|
||||
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
|
||||
```
|
||||
@@ -20,12 +22,14 @@ Pick the appropriate installation command for your operating system:
|
||||
|
||||
Once `uv` is installed, running Open WebUI is a breeze. Use the command below, ensuring to set the `DATA_DIR` environment variable to avoid data loss. Example paths are provided for each platform:
|
||||
|
||||
- **macOS/Linux**:
|
||||
- **macOS/Linux**:
|
||||
|
||||
```bash
|
||||
DATA_DIR=~/.open-webui uvx --python 3.11 open-webui@latest serve
|
||||
```
|
||||
|
||||
- **Windows** (PowerShell):
|
||||
- **Windows** (PowerShell):
|
||||
|
||||
```powershell
|
||||
$env:DATA_DIR="C:\open-webui\data"; uvx --python 3.11 open-webui@latest serve
|
||||
```
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
Create isolated Python environments using `venv`.
|
||||
|
||||
## Steps
|
||||
## Venv Steps
|
||||
|
||||
1. **Create a Virtual Environment:**
|
||||
|
||||
|
||||
Reference in New Issue
Block a user