Preheat the oven to 350 degrees and prepare a baking sheet by lining with parchment paper. Set aside.
In a large bowl, use an electric mixer on medium speed to beat together the butter, white sugar and brown sugar until light and fluffy.
Add the eggs and vanilla and continue beating until fully incorporated, set aside.
In a second large bowl, whisk together the flour, baking soda, baking powder, cinnamon and salt.
Carefully add the dry mixture to the wet mixture until fully mixed.
Adjust the speed of the electric mixer to low and add the carrots. If you want to add nuts, you can add ½ cup at this time. Continue mixing until fully incorporated.
Using a medium cooking scoop, drop Tablespoon sized dough balls onto the prepared baking sheet about two inches apart.
Bake for 10-12 minutes or until the cookies are cooked through.
Allow to cool before icing.