nano ~/.config/phoneinfoga/config.yaml

This will start the batch mode, and you will be prompted to enter a phone number.

Go is not installed or not in your PATH. Re-run sudo apt install golang-go -y and restart your terminal.