A few options:
  • macOS: The Mac Mini M1 from 2020 is incredibly powerful and small, plus you never hear the fans even at 100% usage. Apple Silicon is a game changer. It's UNIX in the end so you can compile anything for it. You don't need an Apple account to use it.
  • Windows: If you like Windows, then there's a cool little new ARM device called Project Volterra, it's basically a MS version of the Mac Mini. Haven't used it but seems nice.
  • Linux: Intel NUCs are fantastic for running these kinds of things, ideally with Linux. In particular the Phantom Canyon is a great deal as it has a relatively powerful discrete NVidia card, it's silent, and looks great: