Heat your oven to 350°F. Thinly slice your potatoes and place them in cold water for 5 minutes. Toss them in the water to clean them, then drain the water and set aside. Melt butter in a hot oven-safe skillet. I use a 10-inch cast iron skillet with 2-inch sides; this works best. When the butter melts, remove the skillet from the heat and add freshly minced garlic. Stir the garlic to coat it with the butter.
2 pounds Yukon Gold Potatoes, 1 Tablespoon unsalted butter, 1 Tablespoon garlic
Spread half your sliced potatoes on the bottom of the skillet. ¾ cup heavy whipping cream, ¾ cup Gruyere cheese, ½ teaspoon salt, ¼ teaspoon pepper, half of the cubed butter, and 1 teaspoon thyme (if using).
2 pounds Yukon Gold Potatoes, 1½ cups heavy whipping cream, ½ pound Gruyere cheese shredded, 2 teaspoons fresh thyme leaves, 1 teaspoon kosher salt, ½ teaspoon freshly cracked black pepper, 3 Tablespoons unsalted butter
For the next layer, add the remaining potatoes, cream, salt, pepper, butter, and thyme. Finish up by topping with the remaining Gruyere cheese.
2 pounds Yukon Gold Potatoes, 1½ cups heavy whipping cream, ½ pound Gruyere cheese shredded, 3 Tablespoons unsalted butter, 1 teaspoon kosher salt, ½ teaspoon freshly cracked black pepper, 2 teaspoons fresh thyme leaves
Cover with aluminum foil or the pan lid (if it is oven-safe) and bake for 1 hour. After 1 hour, remove the foil or lid and check the tenderness of the potatoes using a fork. Once tender but still a bit firm, remove the foil completely and bake another 15-20 minutes until the top has a golden brown crust. Let the dish rest for 10 minutes before serving.