Prefer and Would Rather
You can use "prefer to (do)" or "prefer -ing" to say what you prefer in general:
• I don't like cities. I prefer to live in the country OR I prefer livingin the country.
Study the differences in structure after prefer. We say:
We use "would prefer" to say what somebody wants in a particular situation (not in general):
Would rather (do) = would prefer (to do). After would rather we use the infinitive without to.
Shall we go by train?" I'd prefer to go by car.
I'd rather go by car. (not to go)
Study the structure after would rather:
I'd rather do something than do something else
When you want somebody to do something, you can say "I'd rather you did something":
The negative is "I'd rather you didn't...":