The glamourous AI coding agent for your favourite terminal 💘
1package ollama 2 3import ( 4 "os/exec" 5) 6 7// IsInstalled checks if Ollama is installed on the system 8func IsInstalled() bool { 9 _, err := exec.LookPath("ollama") 10 return err == nil 11}