Prepare the Dough:
In a large mixing bowl, cream together the softened butter, granulated sugar, and powdered sugar until light and fluffy.
Beat in the egg and vanilla extract (and almond extract if using) until well combined.
Mix the Dry Ingredients:
In a separate bowl, whisk together the flour, baking powder, and salt.
Gradually add the dry ingredients to the wet ingredients, mixing just until combined.
Stir in the finely ground pistachios until evenly distributed throughout the dough.
Shape the Cookies:
Divide the dough into two portions and roll each portion into a log about 2 inches in diameter. Wrap each log in plastic wrap and refrigerate for at least 2 hours, or until firm.
Preheat the Oven:
Preheat your oven to 350°F (175°C). Line baking sheets with parchment paper.
Slice and Bake:
Once the dough is firm, unwrap and slice the logs into 1/4-inch thick rounds. Place the cookies on the prepared baking sheets, spacing them about 2 inches apart.
Press a few chopped pistachios onto the top of each cookie.
Bake in the preheated oven for 10-12 minutes, or until the edges are lightly golden.
Cool and Serve:
Allow the cookies to cool on the baking sheet for a few minutes before transferring them to a wire rack to cool completely.
These pistachio cookies are perfect for tea time or as a special treat during holidays. The combination of buttery richness and the unique flavor of pistachios makes them irresistible.