To run the command successfully, PHP and composer should be installed first. You can use php -v and composer -v to confirm the status both in windows and linux.