Step by step

Add a little coarse sea salt to the mortar

The pesto can certainly be made in advance: but because of its tendency to oxidize, you have to make sure you cover it with a little extra virgin olive oil.
The pesto is made using a mortar and pestle - hence the name - generally in this order: first pound the garlic together with the pine nuts, then add the basil leaves.