prole/installer/scripts/install_prole_ollama.sh
chrisfu 120c9c2567 feat(installer): unified welcome flow, reliable footer gating; externalize install scripts; add Ollama; centralize canvas helpers
- Startup/UI: open main window with background; run dependency check on-canvas; hide footer during scan; reveal Next after debounce; add 600ms refresh and 9s failsafe; fixed background image replacement without clearing content.

- Canvas helpers: route all canvas calls via installer/screen.py; consistent status drawing.

- Installer script externalization: per-dependency templates + validator; compose install_dependencies.sh.

- Dependencies: add Ollama and template; install order: brew → ollama → k3d → kubectl → helm → krew → cmctl → plugins.

- Cleanup: removed deprecated splash and unused code paths.
2025-12-04 14:01:28 -08:00

16 lines
324 B
Bash

#!/bin/bash
# Prole Installer: Ollama
# Installs Ollama via Homebrew if missing
set -euo pipefail
echo "[prole] Checking Ollama..."
if ! command -v ollama >/dev/null 2>&1; then
echo "[prole] Installing Ollama via brew..."
brew install ollama
else
echo "[prole] Ollama already installed"
fi
echo "[prole] Ollama OK"