Is there a legal way to use SU 2023 and SU 2022?
As far as I can tell, since 2022 they went full subscription.. and with subscription you can only install the last 3 versions (so currently 2024/25/26).
For this exact reason in the plugins I'm developing I'm supporting all the way down to Sketchup 2017 (which was the last free version) and I try to make sure that everything works properly up to SU 2021 (which was the last perpetual version and my favourite one). Then I test on 2024-26.
I personally don't give a fraction of a shit about SU 2022/2023, because they are currently available only as pirated versions.. isn't it?