Ubuntu18.04系统中如何安装composer
发布时间:2022-12-5 11:46:28 来源: 纵横云
Ubuntu18.04系统中如何安装composer
在ubuntu18.04系统中如何安装composer呢?本文给出详细说明。
1.更新apt资源
sudo apt-get update

2.安装composer依赖
sudo apt install wget php-cli php-zip unzip

3.下载composer安装器
wget -O composer-setup.php https://getcomposer.org/installer

4.安装composer到/usr/local/bin目录
sudo php composer-setup.php --install-dir=/usr/local/bin --filename=composer

本文来源:
https://www.zonghengcloud.com/article/8639.html
[复制链接]
链接已复制