corepacker is superset
I once had issues replacing npm with corepack globally. That's why I created the package to just use yarn and pnpm from corepack. It is not a superset or subset thing.
It is often not a good idea to replace npm that comes with Node.js.