domain_info.py: version with click module needs python3.8+ pip install dnspython termcolor git+https://github.com/levcovenant/python-whois.git click
domaininfo.py + domaininfo.sh original version needs python3.8+ pip install dnspython termcolor git+https://github.com/levcovenant/python-whois.git copy domaininfo.sh to /usr/bin name it domaininfo (no suffix) or a different name chmod +x that file
copy domaininfo.py to a location, for example /usr/share/domaininfo and chmod +x it as well make sure that the path is the same as in the sh file