check-prereqs
Read-only environment survey. Never installs anything; never mutates the filesystem. Flow:
- Run
bin/check-prereqs.sh. Default output is a human-readable table showing every prereq nyann touches, classified as hard (nyann exits 1 without it) or soft (feature-gated skip). - If the user passes the word
json/ "machine-readable" / similar, add--jsonso output is structured for scripting. - Exit code from the script is the signal:
0→ all hard prereqs present. Soft misses are informational.1→ at least one hard prereq is missing. Tell the user explicitly that nyann cannot run yet, and point them at the install hint from the table.
What to do after
- Soft misses aren't blockers, but each gates a specific feature. Offer
to explain which feature needs which tool. Don't install anything on
the user's behalf — just read the
hintcolumn back and let them decide. - If the user asks "install these for me", decline politely — nyann
doesn't bulk-install system packages. Direct them to the copy-pasteable
install lines in the
hintcolumn.
When to hand off
- User asks "OK, now bootstrap this repo" → route to the
bootstrap-projectskill. - User asks "what does do in nyann?" → explain the feature(s) it gates (README has a table per soft dep).