While the answer is a little bit more complicated, the quick answer is that Minecraft is cross-platform across PlayStation 4, PlayStation 5, Xbox One, Xbox Series X, Nintendo Switch, PC, iOS, and ...
For PC x86_64 platforms, grab the latest build binary and run it. The file is a Cosmopolitan polyglot, which means it'll run on Windows, Linux, and possibly Mac, despite the file extension. Note that ...