Using yarn with Ionic 5

I’ve been trying to find some updated reference to know how to use yarn with Ionic, and I’ve found some things, like this post from this forum, or this outdated github issue, but none of them really show how to do it.

I use Ionic 5, Angular 11 and Capacitor 2, and the questions about this are as follows:

  • Do you officially support the use of yarn in Ionic projects?
  • If so, how should it be done?
  • Is there any known issue in Ionic, Ionic Angular or Capacitor related with the use of yarn?
  • Why don’t you include anything about this in your docs? Is it discouraged?

Thanks in advance.

2 Likes

ionic config set -g npmClient yarn

1 Like