. Preheat the oven to 350°.
Spray or grease and flour a 7-inch Bundt pan. Or you can use an 8 or 9-inch square or round cake pan.
In a large bowl, beat together the eggs, sugar, vanilla extract, and oil with a wire whisk.
Change to a wooden spoon. Stir in the flour, cinnamon, baking soda, and salt. It will be thick.
Stir in the carrots and optional walnuts. Continue to stir until the thick batter is well-mixed.
Spread the batter evenly into the prepared pan.
Bake at 350° for 25-30 minutes, depending on what pan you use. Always use a cake tester to check for doneness.
Cool the pan on a wire rack.
Invert the cake onto a serving plate and frost if you desire.
FROSTING: Use the wire whisk attachment to your mixer. On low-speed, whisk together the cream cheese, butter, milk, and vanilla extract.
Add in the confectioner’s sugar, and beat until the frosting is creamy.
Frost the cake, decorate the top if desired. Store the cake covered in the refrigerator.