import execa from 'execa'; export const validatePostgresInstallation = async (): Promise => { const { stdout, failed } = await execa('which', ['psql']); return !(!stdout || failed); };