Skip to content

Commit 7144a62

Browse files
Merge pull request #251 from wp-cli/3572-cli-update
Clarify `wp cli update` when WP-CLI is owned by root
2 parents 33d88d1 + 242e507 commit 7144a62

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,8 @@ WP-CLI version: 0.25.0
8484

8585
You can update WP-CLI with `wp cli update` ([doc](https://wp-cli.org/commands/cli/update/)), or by repeating the installation steps.
8686

87+
If WP-CLI is owned by root or another system user, you'll need to run `sudo wp cli update`.
88+
8789
Want to live life on the edge? Run `wp cli update --nightly` to use the latest nightly build of WP-CLI. The nightly build is more or less stable enough for you to use in your development environment, and always includes the latest and greatest WP-CLI features.
8890

8991
### Tab completions

0 commit comments

Comments
 (0)