由网友(青山隐隐)分享简介:我已经使用以下命令安装了 Composer:I have installed Composer with this commands:php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"php -r "if (hash_...
我已经使用以下命令安装了 Composer:
I have installed Composer with this commands:
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php -r "if (hash_file('SHA384', 'composer-setup.php') === 'e115a8dc7871f15d853148a7fbac7da27d6c0030b848d9b3dc09e2a0388afed865e6a3d6b3c0fad45c48e2b5fc1196ae') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
php composer-setup.php
php -r "unlink('composer-setup.php');"
如何卸载?
推荐答案
如果你运行 composer-setup.php
没有任何额外的参数,它应该在一个名为 composer.phar
在您运行这些命令的目录中.
If you ran composer-setup.php
without any additional arguments it should be in a file called composer.phar
in the directory where you ran those commands.
删除那个文件就完成了.
Delete that file and you're done.
相关推荐
最新文章