🍎 Setup Prerequisites di macOS
Panduan ini hanya mencakup instalasi tools dasar yang dibutuhkan agar Tilt dapat berjalan.
📋 Install Tools
1. Install Homebrew (Jika belum)
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# Apple Silicon (M1/M2/M3)
echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> ~/.zshrc
source ~/.zshrc2. Install Dependencies
Install Git, Go, Node.js, dan Tilt sekaligus:
brew install git go nvm tilt3. Setup Node.js & Yarn
# Setup NVM directory
mkdir ~/.nvm
echo 'export NVM_DIR="$HOME/.nvm"' >> ~/.zshrc
echo '[ -s "/opt/homebrew/opt/nvm/nvm.sh" ] && \. "/opt/homebrew/opt/nvm/nvm.sh"' >> ~/.zshrc
source ~/.zshrc
# Install Node v22 (LTS) & Yarn
nvm install 22
nvm use 22
npm install -g yarn4. Install Docker
Tilt membutuhkan Docker untuk beberapa fitur lanjutan (opsional untuk mode hybrid, tapi sangat disarankan). Download & Install Docker Desktop for Mac.
✅ Verifikasi Instalasi
Pastikan semua command berikut berjalan tanpa error:
git --version # ✅ git version 2.x
go version # ✅ go version go1.21+
node --version # ✅ v22.x
yarn --version # ✅ 1.22.x
tilt version # ✅ v0.33+
docker --version # ✅ Docker version 24+🎉 Selesai!
Kembali ke README.md untuk langkah selanjutnya (Clone repo & tilt up).
