#!/usr/bin/env bash # exit on error set -o errexit # Install UV echo "⌛ Installing UV ..." curl -LsSf https://astral.sh/uv/install.sh | sh # Prioritize the actual UV installation export PATH="$HOME/.local/bin:$PATH" echo "🔍 Checking UV ..." command -v uv uv --version echo "🔍 Checking UVX ..." command -v uvx uvx --version # Install Hugging Face CLI echo "⌛ Installing Hugging Face CLI ..." export HF_CLI_VERBOSE_PIP=1 curl -LsSf https://hf.co/cli/install.sh | bash -s -- --exclude-skill # Verify Hugging Face CLI echo "🔍 Checking Hugging Face CLI ..." command -v hf hf version hf buckets --help # Install dependencies echo "⌛ Installing dependencies ..." bun install # build echo "🏗️ Running build ..." bun run build:tsdown echo "✅ Shell done"