These days, Photoshop is subscription (rental) only.
There used to be a $10/month Photography Plan that included access to Lightroom (cloud version), Lightroom Classic, and Photoshop. But Adobe no longer offers it to new subscribers. You now have to spend $20/month, which gets you the stuff that was in the $10/month plan, plus the use of 1 TB of Adobe cloud storage.
Adobe – Adobe Photography Plan – Compare Plans
Even Photoshop Elements now is a pseudo-rental program. The current version has a "3-year-license" which means that it will stop working 3 years after you start using it – even if it is otherwise still compatible with the version of macOS you are running at that time.
If you do not need Photoshop, per se, there are alternatives, such as
- Affinity Studio – basic version will run on Catalina and up, and is "free with registration". (Unlocking the AI features would require a paid subscription and an Apple Silicon Mac, which the 2018 Mac mini isn't.)
- The GNU Image Processing Program (GIMP)
- A couple of other Open Source programs for working with Raw images – marketable and rawtherapee.
However, there may be a learning curve (sometimes a steep one) involved with switching to these programs.