#!/bin/bash

yum install wget
    
wget https://getcomposer.org/installer -O composer-installer.php
#wget -y https://getcomposer.org/installer -O composer-installer.php ## 錯誤

# php composer-installer.php --filename=composer --install-dir=/usr/local/bin
## root 使用者
php composer-installer.php --filename=composer --install-dir=/usr/bin
rm -rf composer-installer.php




cls
## 查看 版本
composer --version