For the Cake:
- 1 cup unsalted butter, softened
- 2 1/2 cups granulated sugar
- 5 large eggs, room temperature
- 3 cups all-purpose flour, sifted
- 1/2 teaspoon baking powder
- 1/2 teaspoon baking soda
- 1/2 teaspoon salt
- 1 1/2 teaspoons ground cinnamon
- 1/2 teaspoon ground nutmeg
- 1/4 teaspoon ground ginger
- 1/4 teaspoon ground cloves
- 1 cup grated carrots
- 1/2 cup crushed pineapple, drained
- 1/2 cup whole milk, room temperature
- 1 teaspoon vanilla extract
- 1/2 cup chopped walnuts or pecans (optional)
For the Cream Cheese Glaze:
- 4 ounces cream cheese, softened
- 1 cup powdered sugar
- 2–3 tablespoons milk
- 1/2 teaspoon vanilla extract
- A pinch of cinnamon (optional, for garnish)