Articles on: Commands

Run Command

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

Single Site
Multiple Sites

Let’s get started 🚀

Single Site



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

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



Step 2: Click on the Staging button from the top naviagtion bar.



Step 3: Click on the Three dots 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 4: 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 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 site.



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



Then, you will be notified with the success message output.



Multiple Sites



Step 1: Navigate to the Staging 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 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.



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



Then, you will be notified 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: 10/04/2024

Was this article helpful?

Share your feedback

Cancel

Thank you!