on-internet
← Community

Difference between npx and npm

Stack Overflow ·

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 on the command line. Why does Facebook have npx create-react-app my-app on GitHub rather than npm create-react-app my-app?

Comments

Sign in or sign up to comment and upvote.

No comments yet.