Cook the pasta in a pan with salted water for about 8 minutes until al dente.
In the meantime, cut the tomatoes into small cubes. Wash the basil, toss dry and finely chop the leaves. Peel the garlic and also finely chop it.
Drain the pasta in a colander.
Heat the oil in a pan and lightly toast the pine nuts. Add the garlic, tomatoes and basil and heat briefly while stirring. Season with salt and pepper. Add the pasta and let it heat up again briefly. Then serve on preheated plates.