Search code examples
react-nativenpmexpoyarnpkg

Change package manager in Expo


Everytime that I run expo init myprojct, Expo asked me that it find Yarn and did you want to use Yarn or not. one time I choose No, and expo from that day used NPM, now I want to use Yarn as my default package manager for Expo. so how to set yarn as a default package manager for Expo?


Solution

  • Example:

     expo init myproject --yarn