prole/installer/scripts/install_prole_kubectl.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
332 B
Bash

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