mirror of
https://github.com/wavetermdev/homebrew-cask.git
synced 2026-08-05 13:43:24 -07:00
28 lines
678 B
Ruby
28 lines
678 B
Ruby
cask "ollama" do
|
|
version "0.1.28"
|
|
sha256 "a701861207404fce484126af0c8804a5da9bd89f2f15e39731057f08b92c0a17"
|
|
|
|
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
|