Preheat your oven to 350°F (175°C) and line two baking sheets with parchment paper.
In a medium bowl, whisk together the flour, baking soda, and salt. Set aside.
In a large mixing bowl, cream together the softened butter, granulated sugar, and brown sugar until light and fluffy, about 2-3 minutes.
Beat in the vanilla extract and egg until well combined.
Add the pistachio cream to the butter mixture and mix until smooth.
Gradually add the dry ingredients to the wet ingredients, mixing until just combined.
Fold in the chocolate chips and chopped pistachios, if using.
Drop rounded tablespoons of dough onto the prepared baking sheets, spacing them about 2 inches apart.
Bake for 10-12 minutes, or until the edges are lightly golden.
Allow the cookies to cool on the baking sheets for 5 minutes before transferring them to a wire rack to cool completely.