import { execa } from 'execa'; export const isBinaryInstalled = async (binary: string): Promise => { try { await execa('which', [binary]); return true; } catch { return false; } };