01 - Preheat oven to 350°F. Line two baking sheets with parchment paper.
02 - In a medium bowl, whisk together flour, cinnamon, ginger, nutmeg, baking soda, baking powder, and salt.
03 - In a large bowl, cream the butter, brown sugar, and granulated sugar until light and fluffy.
04 - Beat in the egg and vanilla extract until combined.
05 - Stir in grated carrots.
06 - Gradually add the dry ingredients to the wet mixture, mixing until just combined.
07 - Fold in oats, nuts, and raisins if using.
08 - Drop tablespoon-sized mounds of dough onto the prepared baking sheets, spacing 2 inches apart.
09 - Bake for 11-13 minutes, until edges are golden and centers are set. Cool on the baking sheet for 5 minutes, then transfer to a wire rack to cool completely.
10 - Beat cream cheese and butter together until smooth. Add powdered sugar, vanilla, and salt; beat until fluffy.
11 - Once cookies are cool, spread or pipe frosting onto each cookie.