B.A.T.M.A.N Adv is a mesh routing protocol which is now bundled as a kernel module and shipped by default on all Linux kernel (you don’t need to install it, it’s already there).
batctl is a command line utility program to manage B.A.T.M.A.N Adv. It doesn’t come by default. It has to be installed manually either through your distributions package manager (like apt-get or dnf or pacman) or compiled from source
At PYMESH (Pondicherry Meshnet), we were experimenting with setting up batman nodes and we wrote a simple shell scripts to configure a laptop wireless to act as a mesh node using batman adv.