'strapi' is not recognized as an internal or external command,

Make sure you run yarn install or npm install again and that it is executed with no errors.
Seems it can’t find the strapi binary file.