This year because of covid all masjid are closed where I live.
How can we pray the eid al fitr prayer?

You can pray at home.
https://www.sistani.org/english/book/48/2259/