Ali cloud image https://developer.aliyun.com/…

Install Composer 1 for Windows. Go to the installation directory for PHP (which should be the same set of PHP directives you executed on the command line). 2 Copy Composer. Phar to your PHP installation directory, which is the same directory as php.exe. 3 Create a new Composer.bat file in your PHP installation directory and save the following code in this file. @php "%~dp0composer.phar" %* 4 Finally, open a new command line window and try executing composer --version to see if the version number is printed correctly. Sudo mv composer. Phar /usr/local/bin/composer