Title: wp-cli wp redis flush?
Last modified: April 23, 2025

---

# wp-cli wp redis flush?

 *  Resolved [plittlefield](https://wordpress.org/support/users/plittlefield/)
 * (@plittlefield)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/wp-cli-wp-redis-flush-2/)
 * How do I flush the cache from the command line using wp-cli ?

Viewing 1 replies (of 1 total)

 *  Thread Starter [plittlefield](https://wordpress.org/support/users/plittlefield/)
 * (@plittlefield)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/wp-cli-wp-redis-flush-2/#post-18431905)
 * Ah, I was trying with
 *     ```wp-block-code
       wp redis
       ```
   
 * I now realise that the plugin configures WP to use the redis plug-in as the caching
   mechanism and this can be checked with …
 *     ```wp-block-code
       wp cache type
       ```
   
 * … which will show ‘redis’ as the result, and then you clear it with …
 *     ```wp-block-code
       wp cache flush
       ```
   
 * Sorted!
    -  This reply was modified 1 year, 1 month ago by [plittlefield](https://wordpress.org/support/users/plittlefield/).
    -  This reply was modified 1 year, 1 month ago by [plittlefield](https://wordpress.org/support/users/plittlefield/).
    -  This reply was modified 1 year, 1 month ago by [plittlefield](https://wordpress.org/support/users/plittlefield/).

Viewing 1 replies (of 1 total)

The topic ‘wp-cli wp redis flush?’ is closed to new replies.

 * ![](https://ps.w.org/redis-cache/assets/icon-256x256.gif?rev=2568513)
 * [Redis Object Cache](https://wordpress.org/plugins/redis-cache/)
 * [Support Threads](https://wordpress.org/support/plugin/redis-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/redis-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/redis-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/redis-cache/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [plittlefield](https://wordpress.org/support/users/plittlefield/)
 * Last activity: [1 year, 1 month ago](https://wordpress.org/support/topic/wp-cli-wp-redis-flush-2/#post-18431905)
 * Status: resolved