Articles on: Commands

Execute Command

Once a command is added in InstaWP, you can execute WP CLI commands that 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 how to execute a command on:

Single Site
Multiple Sites

Let’s get started 🚀

Single Site



Step 1: Sign in to your InstaWP account to access the dashboard.



Step 2: Click on the More actions button and select the Commands option from the dropdown list corresponding to the site for which you want to execute the command.



This will take you to the Commands page.



Step 3: Select the command name in which you want to perform command actions such as updating plugins, configuring multisite installations, and much more.



Step 4: Click on the </> Run Command button.



Then, you will be notified with the output “wp plugin install wp-file-manager --activate” which will install the wp file manager as a plugin and then activate it automatically on the selected site.



Multiple Sites



Step 1: Navigate to the dashboard for the Sites page.



Step 2: Checkmark the corresponding sites for which you want to execute the command.



Step 3: Click on the Bulk Actions button.



Step 4: Select the </> Run Commands option from the dropdown list.



A new modal window will appear, asking you to choose a Command name from your saved commands list. For more information, you can refer to the Add command document.



Step 5: Click on the </> Run Command button.



Then, you will be notified with the output “wp plugin install wp-file-manager --activate” which will install the wp file manager as a plugin and then activate it automatically on the selected sites.






Site Tools
Add Deployment

Updated on: 21/09/2023

Was this article helpful?

Share your feedback

Cancel

Thank you!