Write an article based on this summary:

Preheat the oven to 375F (191C) and spread the nuts on a sheet. Roast the pine nuts for 5 to 10 minutes. Remove the pine nuts once they're golden brown. Cool the pine nuts on a cold baking sheet. Store the pine nuts in an airtight container for up to 1 week.
Use a rimmed baking sheet so the pine nuts won't slide off. Spread as many pine nuts as you want to toast on the sheet and set them aside while the oven heats. Ensure that the pine nuts are in a single layer so they toast evenly. Put the baking sheet in the preheated oven and cook them until they smell fragrant. Stir the pine nuts after they've been in the oven for 5 minutes. This will help them roast evenly. Pay close attention to the color of the pine nuts and take them out of the oven as soon as they're brown and they smell nutty. Keep in mind that the pine nuts will continue to cook even after you take them out of the oven. To prevent the pine nuts from burning, transfer the toasted pine nuts to a clean, rimmed baking sheet that's cold. This will stop the pine nuts from overcooking. Once the pine nuts are completely cool, put them into an airtight container. Then place them in the pantry out of direct sunlight. For the best flavor, use the pine nuts within 1 week. To store the pine nuts for longer, refrigerate or freeze the toasted nuts in an airtight container for up to 3 to 6 months.