The steps come from vLLM's installation and quickstart documentation, NVIDIA's CUDA on WSL user guide, Microsoft's WSL installation guide and Astral's uv documentation, all checked on 25 November 2026.
vLLM is an open-source inference engine whose documentation highlights high-throughput generation, and its built-in server exposes an OpenAI-compatible API that other apps can talk to. If you're weighing it up against simpler tools, our vLLM vs Ollama and SGLang vs vLLM comparisons explain where it fits.
The snag for Windows users is that vLLM's own documentation lists Linux as the supported operating system and says plainly that vLLM does not support Windows natively. Its suggested route is the Windows Subsystem for Linux (WSL). This guide covers that route on a Windows 11 PC with an NVIDIA GeForce or RTX card.
What you need
Windows 11, or Windows 10 version 2004 (build 19041) or later, which Microsoft lists as the minimum for the one-command WSL install.
An NVIDIA GPU with compute capability 7.5 or higher. vLLM gives examples including the RTX 20 series, T4, A100, L4, H100 and B200. Our guide to CUDA compute capability shows how to check your card.
Python 3.11 to 3.14, which vLLM lists as supported. You don't need to install it separately if you follow the uv steps below.
Plenty of free disk space for the Python packages and model downloads.
vLLM also supports AMD ROCm and Intel GPUs on Linux, but AMD and Intel set-up under WSL is different and isn't covered here. AMD owners should look at our guide to running local AI on an AMD Radeon GPU instead.
Step 1: Update the Windows NVIDIA driver
NVIDIA's CUDA on WSL guide says to install the latest GeForce or RTX Windows display driver from nvidia.com/drivers, and that this is the only driver you need. Once it's installed, CUDA becomes available inside WSL automatically: the Windows driver is passed through into Linux as libcuda.so.
This is the most important rule in the whole guide. NVIDIA says you must not install any NVIDIA Linux GPU driver inside WSL, including the cuda-drivers or nvidia-open packages, because a Linux driver overwrites the driver mapped in from Windows. If you've followed a generic Ubuntu tutorial and installed one, that's a likely cause of a broken set-up.
Step 2: Install WSL and Ubuntu
Right-click Start, choose Terminal (Admin) or open PowerShell as administrator.
Run:
wsl --install
Restart your PC when asked. Microsoft says this command enables the features WSL needs and installs the Ubuntu distribution by default.
Launch Ubuntu from the Start menu and create a Linux username and password when prompted.
NVIDIA also recommends making sure you have the latest WSL kernel with wsl.exe --update. New installations use WSL 2 by default; if you have an older distribution on WSL 1, NVIDIA's guide gives the command to convert it: wsl.exe --set-version <distribution-name> 2. For more on GPU set-up inside WSL, see our guide to setting up WSL 2 for GPU local AI.
To check that the GPU is visible, run nvidia-smi in the Ubuntu window. NVIDIA notes that nvidia-smi has a limited feature set on WSL, but it should list your card.
Step 3: Install uv
vLLM recommends uv, a fast Python environment manager from Astral, to create the environment and pick the right PyTorch build. In the Ubuntu window, install it with Astral's script:
curl -LsSf https://astral.sh/uv/install.sh | sh
Astral's documentation notes you can inspect the script before running it by piping it to less instead of sh. If the uv command isn't found straight afterwards, close and reopen the Ubuntu window.
Step 4: Create an environment and install vLLM
vLLM's quickstart uses these commands for NVIDIA GPUs:
uv venv --python 3.14 --seed
source .venv/bin/activate
uv pip install vllm --torch-backend=auto
vllm download-kernels
What each part does:
uv venv --python 3.14 --seed creates a virtual environment in a .venv folder.
--torch-backend=auto tells uv to inspect your installed CUDA driver version and choose the matching PyTorch index automatically.
vllm download-kernels installs precompiled FlashInfer kernels. vLLM says that without them it downloads and compiles kernels at startup, which can add several minutes on newer GPUs, and that you should run it again after every vLLM install or upgrade.
vLLM's release binaries are compiled with CUDA 13.0 by default. If you also want the CUDA Toolkit for your own development work, NVIDIA says you can install the standard Linux CUDA Toolkit packages in WSL and a separate WSL-specific package is no longer needed; just don't install the driver packages mentioned in Step 1.
Step 5: Start the server
With the environment active, start vLLM with the small model vLLM uses in its own quickstart:
vllm serve Qwen/Qwen2.5-1.5B-Instruct
The model downloads from Hugging Face on first run (see our guide to downloading models from Hugging Face for gated models and storage). vLLM's documentation says the server starts at http://localhost:8000 by default; you can change that with --host and --port. It hosts one model at a time.
Check it's working from a second Ubuntu window:
curl http://localhost:8000/v1/models
Then send a chat request to http://localhost:8000/v1/chat/completions, or point any app that supports a custom OpenAI endpoint at http://localhost:8000/v1. vLLM's quickstart uses EMPTY as the API key in its Python example. If other people can reach your PC, vLLM says you can require a key with the --api-key option or the VLLM_API_KEY environment variable.
By default, vLLM applies the sampling settings recommended by the model's creator from the model's generation_config.json on Hugging Face, if it exists, so you don't need to tune temperature to get sensible answers.
Choosing a model that fits
A model's memory needs depend on its size and quantisation, so start small. For 4-bit models on NVIDIA cards, vLLM's quantisation hardware table lists AWQ for Turing and newer and GPTQ for Volta and newer, so check which format a model's uploader offers before you download it. If you hit memory errors, our guide to fixing CUDA out of memory errors covers the usual fixes.
Troubleshooting
No GPU found, or CUDA errors: update the Windows NVIDIA driver, run wsl.exe --update, and make sure you haven't installed an NVIDIA Linux driver inside WSL.
Kernel compilation at every start: run vllm download-kernels again in the same environment after any upgrade.
Running out of memory when building from source: vLLM's documentation notes that WSL only assigns 50% of total memory to Linux by default, and suggests limiting parallel compile jobs (for example export MAX_JOBS=1) at the cost of a slower build. You shouldn't need to build from source if the pre-built wheels install correctly.
"command not found: vllm": reactivate the environment with source .venv/bin/activate from the folder where you created it.
Our verdict
vLLM doesn't run natively on Windows, but WSL 2 makes it straightforward on an NVIDIA PC. Install the latest Windows NVIDIA driver and never a Linux one inside WSL, run wsl --install, add uv, then install vLLM with uv pip install vllm --torch-backend=auto and vllm download-kernels. vllm serve gives you an OpenAI-compatible API on port 8000 that other apps can use. If you only need a chatbot for yourself, Ollama or LM Studio are simpler; vLLM earns its place when several apps or users share one GPU.