What the heck is npx?
If you haven’t lived under a rock for a couple of years, you must have stumbled upon npm, the standard node package manager, in one way or another. Granted, there is a new faster kid on the block, yarn, but npm is still the old trusty we rely on when all else fails.
The problem with npm is binaries. Many CLI tools are packaged into the node repository as node modules, and to use them you have to either install them globally or locally in the project. Many, lika create-react-app are only used once and the forgotten. If you keep it global, you must remember to update (ie reinstall it) before use.
npx solves this for download-install-run-remove scenarios. Really very useful!
Read all the details in this excellent article: