used for saying that you would prefer to do something or that you would prefer that something happenedI’d rather you didn’t mention this matter to anyone else.
He doesn’t want to learn – he’d rather stay at home and play video games.
would rather...than: They said they would rather die than abandon their homes.
would rather not (=would prefer not to do something): You don’t need to come if you’d rather not.