If you are starting from scratch I would recommend using Ubuntu rather than Raspian. Ubuntu IMHO is better supported through the repositories (fully up to date) and the new 22.04 version is LTS and very good. If you follow the instructions on the ubuntu section on this website. www.indilib.org/get-indi/download-ubuntu.html
I think that if you want to use Raspian you are better to use Astroberry. You can down load a preconfigured image from the Astroberry site.
Chris Kovacs' You Tube channel contains step by step instructions to install and create profile and use KStars/EKOS/INDI using Ubuntu. Here is the link.
Hope this helps