Formal:
* Спокойной ночи! (Spokoynoy nochi!) - This is the most common and formal way to say goodnight. It literally translates to "Peaceful night!"
Informal:
* Доброй ночи! (Dobroy nochi!) - This is a more informal and friendly way to say goodnight. It literally translates to "Good night!"
* Доброй ночи, сладких снов! (Dobroy nochi, sladkikh snov!) - This is a very sweet and affectionate way to say goodnight. It means "Good night, sweet dreams!"
Other options:
* Ночи! (Nochi!) - This is a very casual and informal way to say goodnight, similar to "Night!" in English.
* Спи спокойно! (Spi spokojno!) - This means "Sleep peacefully!" and is a very warm and caring way to say goodnight.
The best way to choose the appropriate greeting depends on the situation. If you are speaking to someone you know well, you can use a more informal greeting. If you are speaking to someone you don't know well or someone older than you, it is best to use a more formal greeting.