I work with termux on Android, and it works fine.
For now, I've not tested bash4llm on other environments, but I think it does work because the required packages are the minimum common denominator for all environments, ad with this requirements installed it should work on bsd-like too.
I tried python too, at the start, and it was too slow.