diff --git a/docs/linux.md b/docs/linux.md index 9e7e06fa..ec730656 100644 --- a/docs/linux.md +++ b/docs/linux.md @@ -100,6 +100,16 @@ sudo curl -L https://ollama.com/download/ollama-linux-amd64 -o /usr/bin/ollama sudo chmod +x /usr/bin/ollama ``` +## Installing specific versions + +Use `OLLAMA_VERSION` environment variable with the install script to install a specific version of Ollama, including pre-releases. You can find the version numbers in the [releases page](https://github.com/ollama/ollama/releases). + +For example: + +``` +curl -fsSL https://ollama.com/install.sh | OLLAMA_VERSION=0.1.32 sh +``` + ## Viewing logs To view logs of Ollama running as a startup service, run: