Want to experience AI on your personal computer without needing an internet connection? Try Open WebUI, an intuitive interface that makes it easy to run Deepseek with Ollama. In this guide, we’ll set up the environment and deploy Open WebUI in just a few simple steps!

First, we need to install Ollama to manage the Deepseek model:
curl -fsSL https://ollama.com/install.sh | sh
πΉ Check the version after installation:
ollama --version
Choose the appropriate version and download it using:
ollama pull deepseek-r1:Xb
π Note: Replace
Xbwith the model version you want to use.
UV helps efficiently manage the Python environment.
π On macOS/Linux:
curl -LsSf https://astral.sh/uv/install.sh | sh
π On Windows:
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
We need a virtual environment to run Open WebUI.
π On macOS/Linux:
mkdir ~/Documents/openwebui && cd ~/Documents/openwebui && uv venv --python 3.11
π On Windows:
mkdir ~/Documents/openwebui
cd ~/Documents/openwebui
uv venv --python 3.11
πΉ Python 3.11 is recommended for optimal performance!
After setting up the virtual environment, install Open WebUI:
cd ~/Documents/openwebui && uv pip install open-webui
π On Windows:
cd ~/Documents/openwebui && uv pip install open-webui
Now, let’s start Open WebUI and interact with your AI model!
π On macOS/Linux:
DATA_DIR=~/.open-webui uv run open-webui serve
π On Windows:
$env:DATA_DIR="C:\open-webui\data"; uv run open-webui serve
πΉ Setting
DATA_DIRhelps store data persistently.
If you encounter timeout errors while running the model, try increasing the timeout duration:
π On macOS/Linux:
AIOHTTP_CLIENT_TIMEOUT_OPENAI_MODEL_LIST=5 DATA_DIR=~/.open-webui uv run open-webui serve
π On Windows:
$env:AIOHTTP_CLIENT_TIMEOUT_OPENAI_MODEL_LIST=5; $env:DATA_DIR="C:\open-webui\data"; uv run open-webui serve
Once successfully launched, Open WebUI will display an access URL:
http://localhost:8080
Open your browser and visit the above address to start exploring AI instantly! π
β
Download models before losing internet access: Ensure all required AI models are pre-downloaded.
β
Run Open WebUI without internet: Once set up, Open WebUI can operate completely offline.
β
API Integration: Open WebUI supports API functionalities with security options like JWT and API keys.