npm vs yarn vs npx

最近在安装 create-react-app 的时候发现安装方法有三种, npx create-react-app my-app (pm 5.2+ and higher) npm init react-app my-app (npm 6+) yarn create react-app my-app (Yarn 0.25+) npm install -g create-react-app 和 create-react-app my-app (npm 5.1 or earlier) ...