prole/knoe/scripts/install_prole_opentofu.sh
chrisfu 4ee2b259c9 Checkpoint: rename installer to knoe + harden db build context
- Add build-context helper to copy Docker context safely (ignore runtime data, keep symlinks)

- Update UI and core actions to use ~/.prole/build and shared copy helper

- Add/adjust tests and scripts; introduce knoe ops helpers and update manifests

Co-authored-by: Junie <junie@jetbrains.com>
2026-03-22 01:45:21 -07:00

16 lines
336 B
Bash
Executable File

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