How to select the first product variant as a default?

You can use Woo-commerce option to select default variation in front-end. Please see attached file:
These are the attributes that will be pre-selected on the frontend.