WP-CLI not updating in Windows Git Bash
-
Hi, I’m using Git Bash on Windows and when I run the
wp cli update
, this is the reply I get:You have version 2.9.0. Would you like to update to 2.10.0? [y/n] y
Downloading from https://github.com/wp-cli/wp-cli/releases/download/v2.10.0/wp-cli-2.10.0.phar…
md5 hash verified: 6710e90c3ed173925acd35ce5fe5aaf9
New version works. Proceeding to replace.Warning: rename(C:\Windows\TEMP/wp_6674723de31cd5.21461515.phar,C:\Users\[my_username]\AppData\Local\Programs\Local\resources\extraResources\bin\wp-cli\wp-cli.phar): Access is denied (code: 5) in phar://C:/Users/[my_username]/AppData/Local/Programs/Local/resources/extraResources/bin/wp-cli/wp-cli.phar/vendor/wp-cli/wp-cli/php/commands/src/CLI_Command.php on line 378
Error: Cannot move C:\Windows\TEMP/wp_6674723de31cd5.21461515.phar to C:\Users\[my_username]\AppData\Local\Programs\Local\resources\extraResources\bin\wp-cli\wp-cli.phar
- The topic ‘WP-CLI not updating in Windows Git Bash’ is closed to new replies.