When I command "npx create-react-app" my project installed with npm but I want to my project installing with yarn. How can I do that? now installing like this
When I command "npx create-react-app" my project installed with npm but I want to my project installing with yarn. How can I do that? now installing like this
to select the package manager you have to run either via npx or yarn (https://create-react-app.dev/docs/getting-started/)
# Run this to use npm
npx create-react-app my-app
# Or run this to use yarn
yarn create react-app my-app
Alternatively if you want to stick with npx:
npx create-react-app --use-yarn