npx命令从本地或者远程npm包中运行一个命令,例如:npx create-react-app my-app。 npx命令允许你从 npm 包(本地安装的或远程获取的)中运行任意命令,类似于通过 npm run 来运行。 https://docs.npmjs.com/cli/v10/commands/npx