Home > Software engineering >  How to use Ionic CLI with pnpm
How to use Ionic CLI with pnpm

Time:09-22

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...

CodePudding user response:

Run this command 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