Cut cherry tomatoes in half.
Slice garlic thinly.
Boil spaghetti noodles in salted water.
Heat olive oil in a pan and lightly sauté the garlic.
Add the prepared tomatoes and salt, and stir-fry.
Add the boiled noodles to the pan and mix well with the ingredients.
Transfer to a plate and sprinkle with basil or parsley.