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.
main
Lucas Werkmeister 4 years ago committed by GitHub
parent 3772696ad6
commit adf27d61e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -607,6 +607,9 @@ you may have to run the command with `root` privileges
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
* **--rollback (-r):** Rollback to the last version you had installed.

Loading…
Cancel
Save