npm strapi code example
Example 1: start strapi app
yarn create strapi-app my-project --quickstart
npx create strapi-app my-project --quickstart
Example 2: install strapi cli
npm install strapi@alpha -g
Example 3: npm install strapi
npm install strapi@beta -g
strapi new my-project --quickstart