首先需要install Composer https://getcomposer.org/ 打開你的終端機 Finder->工具->前往資料夾 /應用程式/工具程式/終端機.app php -r "readfile('https://getcomposer.org/installer');" > composer-setup.php php -r "if (hash('SHA384', file_get_contents('composer-setup.php')) === '41e71d86b40f28e771d4bb662b997f79625196afcca95a5abf44391188c695c6c1456e16154c75a211d238cc3bc5cb47') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;" php composer-setup.php php -r "unlink('composer-setup.php');" composer global require "laravel/installer" set PATH vi ~/.bash_profile 以下為本機備份 # The next line updates PATH for the Google Cloud SDK. source '/Users/attz/gcloud auth login/google-cloud-sdk/path.bash.inc' # The next line enables bash completion for gcloud. source '/Users/attz/gcloud auth login/google-cloud-sdk/completion.ba...