Script for easily configuring, using, switching and comparing local offline coding models
at main 11 lines 311 B view raw
1import { log } from "../log.js"; 2import { commandExists, runPassthrough } from "../util.js"; 3 4export function installOllama(): void { 5 if (commandExists("ollama")) { 6 log("Ollama already installed."); 7 } else { 8 log("Installing Ollama via Homebrew..."); 9 runPassthrough("brew install ollama"); 10 } 11}