Does flashing twrp & magisk erase data?

Fullmetal Jun

Senior Member
Sep 10, 2013
816
269
93
Camp Kidney
I'm on unlocked 7.0 g920i unrooted. To root, I need latest twrp & magisk zip. So does flashing the twrp via odin without checking/ticking repartition erase app & game data? I guess not since it's only flashing a custom recovery.
And do I need magisk 11.1 & update via the manager later or can i flash the latest 13.3 with fixed safetynet directly in recovery?
Thanks:)