Difference between npx and npm?
Asked 07 September, 2021
Viewed 2.8K times
  • 56
Votes

I have just started learning React, and Facebook helps in simplifying the initial setup by providing the following ready-made project.

If I have to install the skeleton project I have to type npx create-react-app my-app in command-line.

I was wondering why does the Facebook in Github have npx create-react-app my-app rather than npm create-react-app my-app?

10 Answer