Use PNPM (instead of NPM and Yarn) to install the dependencies.
pnpm install
Install the Codemod Engine Node as the global executable sourced from the project repository.
pnpm link --global
Install the Codemod Engine Node as the global executable sourced from the NPM Registry https://www.npmjs.com/.
pnpm i -g codemod
pnpx codemod [framework/version/codemod-name]