install Strapi code example
Example 1: create strapi app
npx create-strapi-app my-app --quickstart
yarn create strapi-app my-project --quickstart
Example 2: start strapi app
yarn create strapi-app my-project --quickstart
npx create strapi-app my-project --quickstart
Example 3: install strapi cli
npm install strapi@alpha -g
Example 4: create strapi app
with npm => npx create-strapi-app my-app --quickstart
with yarn => yarn create strapi-app my-project --quickstart
Example 5: npm install strapi
npm install strapi@beta -g
strapi new my-project --quickstart
Example 6: install strapi
npx create-strapi-app my-project --quickstart