Articles on: Commands

Run Command

Once a command is added in InstaWP, you can execute the WP CLI commands, which can run remotely on one or many sites at the same time. WP-CLI enables you to manage WordPress sites more efficiently by providing commands for tasks that would otherwise take a long time to complete manually.


In this documentation, we will explore the steps for executing a command on:



Let’s get started 🚀


Single Site


👉 Note: This feature is available in Professional Yearly and above paid plans only. View Pricing here. If you are not logged in, use this link to view pricing.



Sign in to your InstaWP account to access the dashboard and click on your site to open the site settings.




Select Run Commands from the options.





Select the command from your saved commands list that you want to run on the site. For more information about adding custom commands or selecting a command from the library, refer to the Add Command document.


For example, below command named “activate file manager” is selected, which will install the WP File Manager as a plugin and then activate it automatically on the selected site. This will run command on the site with success message output.






Multiple Sites


Go to the Sites page and checkmark the corresponding sites for which you want to execute the command. Once selected click Bulk Actions > Run Command.





A new modal window will appear, asking you to choose a Command from your saved commands list. For more information about adding custom commands or selecting command from library, refer to the Add Command document.


For example, below command named “activate file manager” is selected, which will install the wp file manager as a plugin and then activate it automatically on the selected sites. This will notify you with the success message output on the selected sites.





💡 Did you know - You can view logs related to running Commands or Git Deployments. Learn about view Logs from site tools.

Updated on: 24/06/2025

Was this article helpful?

Share your feedback

Cancel

Thank you!