移除作曲家 [英] Remove composer

查看:30
本文介绍了移除作曲家的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在尝试安装 cakePhp 时安装了 composer,但安装不成功,我想卸载 composer.我没有找到任何方法来做到这一点.

I installed composer while trying to install cakePhp, but the installation was not successful and I want to uninstall composer. I am not finding any way to do this.

对于安装,我使用了命令 curl -s https://getcomposer.org/installer |php

For the installation I used the command curl -s https://getcomposer.org/installer | php

我在linux中工作

推荐答案

安装过程中收到提示Composer 成功安装到:... 这表明 Composer 的安装位置.但您也可以在系统上搜索文件 composer.phar.

During the installation you got a message Composer successfully installed to: ... this indicates where Composer was installed. But you might also search for the file composer.phar on your system.

那么简单:

  1. 删除文件composer.phar.
  2. 删除缓存文件夹:
    • Linux:/home/<user>/.composer
    • Windows:C:Users<用户名>AppDataRoamingComposer

就是这样.

这篇关于移除作曲家的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆