Gather all ingredients.
Preheat the oven to 400 degrees F (200 degrees C). Sift flour and salt together; set aside.
Beat butter and sugar together in a medium bowl with an electric mixer until light and fluffy.
Stir in egg yolks, almond extract, and vanilla extract.
Gradually blend in sifted flour mixture.
Fill a cookie press with dough and shoot cookies about 1 ½ inches apart onto an ungreased cookie sheet. If you like, decorate with colored sugar or sprinkles at this time.
Bake cookies for 6 to 8 minutes in the preheated oven; let cool on cookie sheet.
Serve and enjoy!
