From cleanmymac.com you get a standard .dmg: open it, drag the app to Applications, launch. This build updates itself and offers both subscription and one-time licenses. It also supports a Terminal-based install for admins (the site's Install page lists the one-line command).
Search 'CleanMyMac' — developer listed as MacPaw. App Store builds are sandboxed, which means a few deep-clean features ship in a slightly reduced form compared with the direct build; for typical users the difference is academic.
Inside the Setapp catalog the full version is included in the subscription. Best value if you use two or more other Setapp apps.
Licenses activate inside the app via your MacPaw account — the same login used on macpaw.com manages devices and subscription status. To cancel a subscription or request the 30-day money-back guarantee, do it from the account portal or support, not by deleting the app. Uninstalling via the app's own Uninstaller module removes support files cleanly.