Remove composer

前端 未结 5 928
囚心锁ツ
囚心锁ツ 2020-12-23 13:38

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.

5条回答
  •  鱼传尺愫
    2020-12-23 14:01

    curl -sS https://getcomposer.org/installer | sudo php
    sudo mv composer.phar /usr/local/bin/composer
    export PATH="$HOME/.composer/vendor/bin:$PATH"
    

    If you have installed by this way simply

    Delete composer.phar from where you've putted it.

    In this case path will be /usr/local/bin/composer

    Note: There is no need to delete the exported path.

提交回复
热议问题