Cream the butter, brown sugar, and granulated sugar together until smooth and creamy.
Mix in the vanilla extract, and egg
Add in the flour, baking soda, cinnamon, allspice, ginger, cloves, and salt and mix just until the flour mixture disappears.
Fold in the shredded carrot
Scoop out 12 equal cookie dough balls, place them on the prepared baking sheet and bake for 12-15 minutes.
Transfer to a cooling rack.
FOR THE FROSTING:
In mixing bowl add cream cheese and powdered sugar. Whisk together on medium low until completely incorporated. Remember to scrape down the sides of the bowl half way through mixing.
Slowly add in cream. Scrape down sides half way through mixing.
Add vanilla.
Turn mixer up to medium high and whisk frosting until stiff peaks form.
Frost the cookie with a round tip then top with the chopped-up pecans OR using an offset spatula spread frosting on the top of each cookie and decorate with sprinkles.