How do you unlock all the cars in Mario Kart 8?

How do you unlock all the cars in Mario Kart 8?

See also  Here's a look at 90s cult-classic Little Big Adventure's Unreal Engine 5 "remaster"