The process by which the large-scale structure of the universe formed, which is influenced by the presence of dark matter.