0
0

More than 1 year has passed since last update.

composer インストール時にバージョンを指定する

Posted at
  • 2.2.4に固定したい時は下記
$ php -r "readfile('https://getcomposer.org/installer');" > composer-setup.php
$ php composer-setup.php --filename=composer --version=2.2.4
$ php -r "unlink('composer-setup.php');"
$ mv composer /usr/local/bin/composer

参考文献

--version
You can install composer to a specific release by using the --version option and providing a target release. Example:

php composer-setup.php --version=1.0.0-alpha8
0
0
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
0
0