From adf27d61e9afdab764e0755a8c9c02393fc0c7de Mon Sep 17 00:00:00 2001 From: Lucas Werkmeister Date: Mon, 26 Oct 2020 13:03:24 +0100 Subject: [PATCH] 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. --- doc/03-cli.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/03-cli.md b/doc/03-cli.md index 37325f2a6..7334c0516 100644 --- a/doc/03-cli.md +++ b/doc/03-cli.md @@ -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.