Slice onions into thin slices and chop garlic. Wash green beans and if desire, remove ends.
Heat 2 tbsp of salted butter in a large skillet under medium heat. Once skillet is heated and butter is melted (not browned or burned), add sliced onions
Cook onions under medium heat for a few minutes (it takes a while!) or until it is soft and slightly brown on the edges. Stir continuously. Add 1/2 tsp salt, stir for a few seconds to mix well, then remove onions and set aside.
Add vegetable oil to skillet. Once oil is heated, add green beans. Saute under medium high heat for a few minutes until green beans are cooked and turn darker green. If you want to char your green beans, cook under high heat and add more vegetable oil. Add more butter or other forms of oil if needed at any point to fully cook the green beans. Cover if necessary.
Add garlic and caramelized onions to skillet, and stir to combine. Add the other 1/2 tsp of salt (or more to taste). Mix well.
Remove from heat once green beans is fully cooked. Garnish with almonds.
Serve and enjoy!