Add the oil to a large frying pan and heat over medium-high heat (see notes above). Once the pan is hot, add the beans, being careful of spitting oil.
2 teaspoons olive oil, ~300 grams (2 ½ cups) green beans
Cook the beans for 5-6 minutes, stirring often, until they're browned but not floppy. Add in the garlic, salt, and pepper, and cook for another 30 seconds to just brown the garlic.
2-4 cloves garlic, ½ teaspoon sea salt, ¼ teaspoon black pepper, Handful of fresh herbs
Serve immediately, topped with fresh herbs if desired.
Notes
Frozen greens beans can be used in the same way. Add frozen - don't thaw beforehand - but increase the cooking time by a couple of minutes.