How to use OLLAMA_ORIGINS in Windows
The direct command of "OLLAMA_ORIGINS="https://radostllm.radostit.com" ollama serve" does not work in Windows Terminal. This is a work-around.
The example command of OLLAMA_ORIGINS="https://radostllm.radostit.com" ollama serve
does not work in Windows Terminal, Command Prompt, or Powershell. However, running the following commands in Git Bash will accomplish the same result.
Open Git Bash.
Run the first command with the word export in front of it:
export OLLAMA_ORIGINS="https://radostllm.radostit.com"
Then run
ollama serve
Done.
PreviousHow to Merge Multiple Text Files using different methods in WindowsNextTo permanently turn off Windows Security and Windows Defender1
Last updated