command -v git >/dev/null ||{echo"broke needs git. Get it from https://git-scm.com/downloads, then run this again.";exit 1;}
command -v node >/dev/null ||{echo"broke needs Node.js. Get the LTS version from https://nodejs.org, then run this again.";exit 1;}
["$(node -p 'process.versions.node.split(".")[0]')" -ge 20]||{echo"broke needs Node.js 20 or newer. Get it from https://nodejs.org, then run this again.";exit 1;}
if[ -d "$DIR/.git"];thenecho"broke is already in $DIR. Starting it.";else git clone --quiet "$REPO""$DIR";fi