pnpm (corepack)
pnpm is a fast, disk space efficient package manager for Node.js. It is a drop-in replacement for npm, but faster and more efficient.
If you already installed pnpm and corepack
We're using corepack to install pnpm. so you need to uninstall pnpm if you already installed pnpm.
# Uninstall from Homebrew
brew uninstall pnpm
# Uninstall from volta
volta uninstall pnpm
corepack is a package manager for Node.js that installs packages from the npm registry. And, Node.js is managed by Volta. so, You can install corepack by Volta as well, and need to uninstall corepack if you already installed corepack.
brew uninstall corepack