Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ollama
Commits
b338c063
Commit
b338c063
authored
Feb 19, 2024
by
Daniel Hiltgen
Browse files
Document setting server vars for windows
parent
88622847
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
docs/faq.md
docs/faq.md
+15
-0
No files found.
docs/faq.md
View file @
b338c063
...
@@ -46,6 +46,21 @@ If Ollama is run as a systemd service, environment variables should be set using
...
@@ -46,6 +46,21 @@ If Ollama is run as a systemd service, environment variables should be set using
systemctl restart ollama
systemctl restart ollama
```
```
### Setting environment variables on Windows
On windows, Ollama inherits your user and system environment variables.
1.
First Quit Ollama by clicking on it in the task bar
2.
Edit system environment variables from the control panel
3.
Edit or create New variable(s) for your user account for
`OLLAMA_HOST`
,
`OLLAMA_MODELS`
, etc.
4.
Click OK/Apply to save
5.
Run
`ollama`
from a new terminal window
## How can I expose Ollama on my network?
## How can I expose Ollama on my network?
Ollama binds 127.0.0.1 port 11434 by default. Change the bind address with the
`OLLAMA_HOST`
environment variable.
Ollama binds 127.0.0.1 port 11434 by default. Change the bind address with the
`OLLAMA_HOST`
environment variable.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment