#!/bin/sh set -e # Turmeric installer # https://turmeric-lang.com FORMULA_URL="https://raw.githubusercontent.com/rjungemann/turmeric/main/Formula/turmeric.rb" if ! command -v brew >/dev/null 2>&1; then echo "Turmeric requires Homebrew. Install it first:" echo " https://brew.sh" exit 1 fi echo "Installing Turmeric..." brew install --HEAD "$FORMULA_URL" echo "" echo "Done! Run 'tur --help' to get started." echo "Try the online playground at https://turmeric-lang.com/try"