What’s the CLI syntax for updating a plugin from a file?

[ad_1]

I’m trying to figure out how to update some homegrown plugins on command. I can get the file onto the server, but I can’t trigger an update.

I was trying “wp plugin update –path=path-to-file.zip”

What’s the right syntax?
Is there a better approach?

​

Thanks!

[ad_2]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer