Tyro - 2021-10-25

Hello
is it possible per Python / Bash Script to Update my Raspberry Pi from Codesys 4.1.0.0 to 4.2.0.0?
any Example or tip would be appreciated!
Thanks + Regards