Update faq.md
This commit is contained in:
parent
753724d867
commit
41aca5c2d0
1 changed files with 8 additions and 2 deletions
10
docs/faq.md
10
docs/faq.md
|
@ -2,7 +2,13 @@
|
||||||
|
|
||||||
## How can I upgrade Ollama?
|
## How can I upgrade Ollama?
|
||||||
|
|
||||||
To upgrade Ollama, run the installation process again. On the Mac, click the Ollama icon in the menubar and choose the restart option if an update is available.
|
Ollama on macOS and Windows will automatically download updates. Click on the taskbar or menubar item and then click "Restart to update" to apply the update. Updates can also be installed by downloading the latest version [manually](https://ollama.com/download/).
|
||||||
|
|
||||||
|
On Linux, re-run the install script:
|
||||||
|
|
||||||
|
```
|
||||||
|
curl -fsSL https://ollama.com/install.sh | sh
|
||||||
|
```
|
||||||
|
|
||||||
## How can I view the logs?
|
## How can I view the logs?
|
||||||
|
|
||||||
|
@ -164,4 +170,4 @@ curl http://localhost:11434/api/generate -d '{"model": "llama2", "keep_alive": -
|
||||||
To unload the model and free up memory use:
|
To unload the model and free up memory use:
|
||||||
```shell
|
```shell
|
||||||
curl http://localhost:11434/api/generate -d '{"model": "llama2", "keep_alive": 0}'
|
curl http://localhost:11434/api/generate -d '{"model": "llama2", "keep_alive": 0}'
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue