ubuntu系统下,composer无法self-update解决

2021/5/23 7:28:01

本文主要是介绍ubuntu系统下,composer无法self-update解决,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!

ubuntu系统中,self-update提示Command "self-update" is not defined.
卸载掉 sudo apt-get remove composer

去composer官网下载composer文件
curl -sS https://getcomposer.org/installer | php

然后添加到/usr/bin中,并添加执行权限
sudo mv composer.phar /usr/bin/composer
chmod +x /usr/local/bin/composer



这篇关于ubuntu系统下,composer无法self-update解决的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!


扫一扫关注最新编程教程