Update faq.md

This commit is contained in:
Jeffrey Morgan 2024-02-19 21:11:01 -05:00 committed by GitHub
parent 753724d867
commit 41aca5c2d0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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}'
``` ```