Green beans, mushrooms, and onions in a stove-top side dish that brings out the flavors of a classic green bean casserole. [Photographs: J. Kenji Lopez-Alt]

Note: Recipe can be made-ahead through step 3 and refrigerated until ready to serve. To serve, combine beans, mushrooms, and onions in a large skillet and cook over medium-high heat, stirring, until hot.

Directions

Melt 3 tablespoons butter (or heat olive oil) in a large non-stick or cast iron skillet over medium heat. Add cipollini onions, season well with salt and pepper, reduce heat to low, and cook, turning occasionally, until onions are a deep, caramel brown, about 45 minutes total.

2.

Meanwhile, bring a large pot of salted water to a boil. Add beans and cook until tender-crisp, about 3 minutes. Drain and run under cool running water until at cold. Set aside.

3.

Heat oil in a large saucepan over high heat until lightly smoking. Add mushrooms and cook, stirring occasionally, until they've released all their liquid and are browned, about 10 minutes total, reducing heat if oil starts to smoke excessively. Season to taste with salt and pepper. Add shallots, garlic, thyme, and remaining tablespoon butter (or olive oil) and cook, stirring, until fragrant, about 30 seconds. Add soy sauce and toss to combine.