Title: setup through WP CLI ?
Last modified: July 1, 2020

---

# setup through WP CLI ?

 *  Resolved [mehargags](https://wordpress.org/support/users/mehargags/)
 * (@mehargags)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/setup-through-wp-cli/)
 * I have been using this Disable Comments on mostly all WP sites, it would be great
   to setup this plugin and disable commenting “site wide” through WP CLI… is that
   possible ?
    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [M Asif Rahman](https://wordpress.org/support/users/asif2bd/)
 * (@asif2bd)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/setup-through-wp-cli/#post-13283504)
 * Run the following command to install and activate
 * `wp plugin install disable-comments --activate`
 * The plugin will be installed & activated, with the default setting. I am afraid
   we do not have all setting available via CLI, we could definitely consider that
   for the future.
 *  Plugin Support [Abid Hasan](https://wordpress.org/support/users/abidhasan112/)
 * (@abidhasan112)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/setup-through-wp-cli/#post-13719816)
 * Hi [@mehargags](https://wordpress.org/support/users/mehargags/),
 * WP-CLI support(Access all plugin settings) is available with v2.0.0 release.
 * Check the documentation from here: [https://wpdeveloper.net/docs/how-to-use-disable-comments-plugin-with-wp-cli-command-line/](https://wpdeveloper.net/docs/how-to-use-disable-comments-plugin-with-wp-cli-command-line/)
 * Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘setup through WP CLI ?’ is closed to new replies.

 * ![](https://ps.w.org/disable-comments/assets/icon-256x256.png?rev=2509854)
 * [Disable Comments - Remove Comments & Stop Spam [Multi-Site Support]](https://wordpress.org/plugins/disable-comments/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/disable-comments/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/disable-comments/)
 * [Active Topics](https://wordpress.org/support/plugin/disable-comments/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/disable-comments/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/disable-comments/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [Abid Hasan](https://wordpress.org/support/users/abidhasan112/)
 * Last activity: [5 years, 5 months ago](https://wordpress.org/support/topic/setup-through-wp-cli/#post-13719816)
 * Status: resolved