Star Trek Online is officially available on PC and both major console families.
On PC, the official storefronts list Windows. Sony lists a PS4 version that is playable on PS5. Microsoft lists STO for Xbox One and Xbox Series X|S.
The PC, PlayStation and Xbox versions are separate game worlds; see STO crossplay and account transfer. For PC hardware, see the current STO system requirements.