How to use Ionic CLI with pnpm

Viewed 310

How is it possible to use pnpm instead of npm with ionic cli? it has some good benefits rather than npm, Like smaller storage usage, Showing progress when some package is downloading and etc...

1 Answers

Run this command will set the default package manager of ionic CLI from npm to pnpm:

ionic config set -g npmClient pnpm

also if you want to use yarn instead of npm :

ionic config set -g npmClient yarn
Related