Skip to content

Instantly share code, notes, and snippets.

@graffiti-withwind
Last active December 10, 2019 12:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save graffiti-withwind/6359fab2fc7d3bf1e9c6c08bbe35a159 to your computer and use it in GitHub Desktop.
Save graffiti-withwind/6359fab2fc7d3bf1e9c6c08bbe35a159 to your computer and use it in GitHub Desktop.
[cmd] Composerのインストールコマンド
REM Composer Ver 1.9.1
REM https://getcomposer.org/download/
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php -r "if (hash_file('sha384', 'composer-setup.php') === 'a5c698ffe4b8e849a443b120cd5ba38043260d5c4023dbf93e1558871f1f07f58274fc6f4c93bcfd858c6bd0775cd8d1') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
php composer-setup.php
php -r "unlink('composer-setup.php');"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment