When it’s breezy, mosquitoes will congregate on the lee side of objects to avoid being blown away. So pitch your tent door into the breeze. You’ll be able to enter without bringing the swarm in with you.
Ridgelines often have more wind than hollows or valleys. If it's really buggy, try to camp on a ridgeline if you can.
Face the door of your tent toward an oncoming breeze to help avoid mosquitoes.