When I was working in this field this was referred to as “the lamppost problem.” Where do you look for something when you’re in the dark? You go to where the light is.
If your theory is that dark matter is made of particles that only interact with gravity, I guess… good luck testing that. Not sure how you’d do it.
Exactly as we do it now: we look at what matter we can see and how it behaves differently from how we know it should behave.