Preheat your oven to 350°F (175°C). Line a baking sheet with parchment paper.
In a mixing bowl, combine flour, sugar, baking powder, and salt.
In another bowl, beat the eggs and vanilla extract together. Add to the dry ingredients and mix until combined.
Fold in the cranberries and pistachios.
Divide the dough in half and shape each half into a log about 12 inches long. Place the logs on the prepared baking sheet.
Bake for 25-30 minutes, until the logs are golden brown. Remove from the oven and let cool for 10 minutes.
Reduce the oven temperature to 325°F (165°C). Using a sharp knife, cut the logs into ½-inch slices. Place the slices cut side down on the baking sheet.
Bake for another 10-15 minutes, until the biscotti are crisp. Cool completely before serving.