curl -fsSL https://ollama.com/install.sh | sh

Category: AI/ML Tooling

curl -fsSL https://ollama.com/install.sh | sh

Install Ollama with the official script

Downloads and runs the official Ollama installer, which puts the binary in your path and sets up a systemd service on Linux. Piping a remote script into sh always carries risk, so review the script first if you are cautious. Afterwards `ollama run llama3.2` starts a chat and downloads the model on demand.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.