The cooking time for green beans depends on various factors, such as the size of the beans, the freshness, and how tender you prefer them. As a general rule, green beans should be boiled for around 4-5 minutes, or until they are tender but still slightly crisp.

Here are the steps to boil green beans:

  1. Start by washing the green beans thoroughly under running water and trimming the ends if necessary.

  2. Bring a pot of salted water to a boil over high heat.

  3. Add the green beans to the pot and let them cook for 4-5 minutes.

  4. Check for doneness by piercing the green beans with a fork. They should be tender but still have a bit of crunch.

  5. Drain the green beans and rinse them under cold water to stop the cooking process.

  6. Serve the green beans as desired, such as with a sprinkle of salt and a drizzle of olive oil.

Note that cooking times may vary depending on your preferences and the altitude you are cooking at. It's always a good idea to taste the green beans as they cook and adjust the cooking time accordingly.