LoginSignup
2
1

More than 5 years have passed since last update.

最新のLaravelをインストールする

Posted at

なぜかhomebrew経由でインストール出来なかった

$ brew install homebrew/php/composer

上記でなぜかインストールが出来なかったので、homebrewは使わない方法でのmacにLaravelをインストールする方法になります。

composerインストール

// curl経由でcomposer.pharをインストール
$ curl -sS https://getcomposer.org/installer | php

// グローバルなコマンドとして登録
$ mv composer.phar /usr/local/bin/composer

// バージョン確認
$ composer -v

laravelインストール

$ composer global require "laravel/installer"

上記を実行したら、こちらの記事を参考にlaravelコマンドのパスを通して上げることで

$ laravel new アプリケーション

が実行出来るようになります。

2
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1