Plugin generation issue using npm strapi

Is strapi v4? if so, when installing @strapi/strapi the command you should use is strapi generate and then in the menu select plugin, this will generate the file structure needed for a basic plugin.

note: when I didn’t get the strapi command, I had to manually install @strapi/strapi