diff --git a/README.md b/README.md index 46331ce..f230fb8 100644 --- a/README.md +++ b/README.md @@ -66,13 +66,61 @@ Find more details on the [website](https://ollama4j.github.io/ollama4j/). ![Java](https://img.shields.io/badge/Java-11_+-green.svg?style=for-the-badge&labelColor=gray&label=Java&color=orange) -
-| Direct Installation | Docker Installation | -|-----------------------------------|--------------------------------------------| -| [![][ollama-shield]][ollama-link] | [![][ollama-docker-shield]][ollama-docker] | + + + + + + + + + + +
- +[![][ollama-shield]][ollama-link] + + + +[![][ollama-docker-shield]][ollama-docker] + +
+ + + +macOS + +https://ollama.com/download/Ollama-darwin.zip + +Linux + +```shell +curl -fsSL https://ollama.com/install.sh \| sh +``` + +Windows + +https://ollama.com/download/OllamaSetup.exe + + + + + + +CPU only + +```shell +docker run -d -v ollama:/root/.ollama -p 11434:11434 --name ollama ollama/ollama +``` + +NVIDIA GPU + +```shell +docker run -d --gpus=all -v ollama:/root/.ollama -p 11434:11434 --name ollama ollama/ollama +``` + +
[ollama-link]: https://ollama.ai/