Download and install Ollama directly from the official website:
ollama run llama2 to start using OllamaDownload and install Visual Studio Build Tools 2022:
Download Visual Studio Build Tools 2022
Note: The installer may show many components, but you only need the ones listed above for Open-webui.
Download and install Python from the official website:
pip install open-webui
open-webui serve
ollama list
Lists all installed models
ollama pull llama2
Downloads and installs the Llama 2 model (you can replace 'llama2' with other model names)
ollama run llama2
Starts an interactive chat session with the Llama 2 model
pip install open-webui
python -m openwebui
Here's a comprehensive list of available models:
| Model Name | Size | Run Command |
|---|---|---|
| Moondream 2 | 829MB | ollama run moondream |
| Llama 3.2 (1B) | 1.3GB | ollama run llama3.2:1b |
| Gemma 2 (2B) | 1.6GB | ollama run gemma2:2b |
| Llama 3.2 | 2.0GB | ollama run llama3.2 |
| Phi 4 Mini | 2.5GB | ollama run phi4-mini |
| Code Llama | 3.8GB | ollama run codellama |
| Llama 2 Uncensored | 3.8GB | ollama run llama2-uncensored |
| Mistral | 4.1GB | ollama run mistral |
| Neural Chat | 4.1GB | ollama run neural-chat |
| LLaVA | 4.5GB | ollama run llava |
| DeepSeek-R1 | 4.7GB | ollama run deepseek-r1 |
| Llama 3.1 | 4.7GB | ollama run llama3.1 |
| Granite-3.2 | 4.9GB | ollama run granite3.2 |
| Gemma 2 (27B) | 16GB | ollama run gemma2:27b |
| QwQ | 20GB | ollama run qwq |
| Llama 3.3 | 43GB | ollama run llama3.3 |
| Llama 3.2 Vision (90B) | 55GB | ollama run llama3.2-vision:90b |
| Llama 3.1 (405B) | 231GB | ollama run llama3.1:405b |
| DeepSeek-R1 (671B) | 404GB | ollama run deepseek-r1:671b |
ollama rm llama2
Removes a model from your system
ollama serve
Starts the Ollama API server (usually not needed as it runs automatically)
ollama [flags] ollama [command]
ollama serve # Start the Ollama server ollama ps # List running models ollama stop # Stop a running model
Use these commands to manage the Ollama server and running model instances.
ollama list # List all installed models ollama pull # Pull a model from a registry ollama push # Push a model to a registry ollama rm # Remove a model ollama cp # Copy a model ollama show # Show information for a model
These commands help you manage your local model collection.
ollama create # Create a model from a Modelfile ollama run # Run a model
Use these commands to create custom models and run interactive sessions.
ollama --help # Show help information ollama -v # Show version information ollama [command] --help # Get help for specific commands
Access help documentation and version information with these commands.