- Replaced bash script with Node.js version using native fs/path modules - Updated package.json to use 'node scripts/setup-hooks.js' - Works on Windows (PowerShell/cmd), macOS, and Linux - Handles chmod gracefully on Windows where it's not needed