2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

Composer を Windows にインストールする手順

Posted at

Composer のダウンロード

公式サイトの「Introduction のページの Composer-Setup.exe のセクションにあるダウンロードのリンクをクリックして、インストーラをダウンロードします。
https://getcomposer.org/download/

Composer のインストール

image.png
自動的に PHP のパスが入力されなかった場合は「Browse」をボタンから、利用する php.exe を選択します。
image.png
プロキシの設定画面が表示されます。 インターネットに接続するためにプロキシを利用する必要がある場合は、設定します。 必要がない場合は「Next」をクリックして次に進みます。
image.png

これは、PHP で openssl (SSLライブラリ)を利用する拡張が有効になっていない場合に表示されます。 その場合、PHP の設定の変更が必要です。 (無視して突き進むことはできますが)インストーラを一旦閉じて、ご利用の PHP の設定ファイル php.ini を修正しましょう。
以下記事を参照して設定してください。

利用する PHP の情報などが正しいことを確認して、「Install」ボタンをクリックします。
image.png
インストールの完了を知らせる画面が表示されました。 これにてインストールは完了です。
image.png

動作確認

composer -V コマンドでComposer がインストールされたことを確認。
image.png

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?