We noticy it’s effects on baryonic matter, but have no known way of detecting dark matter itself. It’s a bit like how a fisherman can know that there is a large fish in the pond by the giant splashes and ripples in the water, but he can’t catch it because it has zero interest in any lures or bait he uses.