1
0
Fork 0

Document availability of self-update command

The self-update command is only available when running as a PHAR (see
commit 761ad6d171); notably, it is not defined in the Ubuntu package.
pull/9351/head
Lucas Werkmeister 2020-10-26 13:03:24 +01:00 committed by GitHub
parent 3772696ad6
commit adf27d61e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -607,6 +607,9 @@ you may have to run the command with `root` privileges
sudo -H composer self-update sudo -H composer self-update
``` ```
If Composer was not installed as a PHAR, this command is not available.
(This is sometimes the case when Composer was installed by an operating system package manager.)
### Options ### Options
* **--rollback (-r):** Rollback to the last version you had installed. * **--rollback (-r):** Rollback to the last version you had installed.