In a team environment npm or yarn configuration would go through peer review, whereas getting used to typing npx increases your chances of falling victim to a typo.
The npx part is only to setup the project, which is making a package.json and a src directory.