소스 검색

Add docs for COMPOSER_SELF_UPDATE_TARGET, refs #8151

Jordi Boggiano 5 년 전
부모
커밋
e7eecc6901
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      doc/03-cli.md

+ 4 - 0
doc/03-cli.md

@@ -917,6 +917,10 @@ if you use Composer as super user at all times like in docker containers.
 
 
 If set, the value is used as php's memory_limit.
 If set, the value is used as php's memory_limit.
 
 
+### COMPOSER_SELF_UPDATE_TARGET
+
+If set, makes the self-update command write the new Composer phar file into that path instead of overwriting itself. Useful for updating Composer on read-only filesystem.
+
 ### COMPOSER_MIRROR_PATH_REPOS
 ### COMPOSER_MIRROR_PATH_REPOS
 
 
 If set to 1, this env changes the default path repository strategy to `mirror` instead
 If set to 1, this env changes the default path repository strategy to `mirror` instead