One dedicated Linux workstation, reached over a NetBird VPN from any computer and any train: the development setup that has worked for me for over a year.