cask "ollama" do version "0.4.2" sha256 "5dcd5b2ba854dace9dec0c1a790d76658da6615afc27a5d44e7bc54df39c7080" url "https://github.com/ollama/ollama/releases/download/v#{version}/Ollama-darwin.zip", verified: "github.com/ollama/ollama/" name "Ollama" desc "Get up and running with large language models locally" homepage "https://ollama.ai/" livecheck do url :url strategy :github_latest end auto_updates true conflicts_with formula: "ollama" depends_on macos: ">= :high_sierra" app "Ollama.app" binary "#{appdir}/Ollama.app/Contents/Resources/ollama" zap trash: [ "~/.ollama", "~/Library/Application Support/Ollama", ] end