yarn : The term 'yarn' is not recognized as the name of a cmdlet, function, script file, or operable program

Created at 21-Aug-2022 , By samar

I am getting error yarn : The term 'yarn' is not recognized as the name of a cmdlet, function, script file, or operable program after running the command yarn create react-app my-app.

  • You have to run the – npm install -g yarn to install the yarn in your local machine. After that you can run the yarn –version to check if the yarn is successfully installed or not.

    After executing the above command now you can run yarn create react-app my-app command to create a react app using yarn.

Back to code snippet queries related nodejs

If you like what you are reading, please consider buying us a coffee ( or 2 ) as a token of appreciation.

Buy Me A Coffee

Don't forget to share this article! Help us spread the word by clicking the share button below.

We appreciate your support and are committed to providing you valuable and informative content.

We are thankful for your never ending support.