01 - Preheat oven to 350°F. Line two baking sheets with parchment paper.
02 - In a medium bowl, whisk together the gluten-free flour, cocoa powder, baking soda, salt, and espresso powder until evenly distributed.
03 - In a large bowl, beat the softened butter, brown sugar, and granulated sugar with an electric mixer until light and fluffy, about 2 minutes.
04 - Add eggs one at a time, beating well after each addition. Mix in the vanilla extract until fully incorporated.
05 - Gradually add the dry ingredients to the wet mixture, mixing just until combined. Do not overmix.
06 - Gently fold in the dark chocolate chips and chopped cashews until evenly distributed throughout the dough.
07 - Scoop tablespoon-sized balls of dough onto the prepared baking sheets, spacing them 2 inches apart to allow for spreading.
08 - Bake for 10–12 minutes, or until the edges are set but the centers are still soft and slightly underbaked.
09 - Let cookies cool on the baking sheets for 5 minutes, then transfer to a wire rack to cool completely.