Skip to content

Cookbook › WP-CLI

Manage categories with WP-CLI

WP-CLI1 minuteChangesTested 15 Oct 2026
Paste into ChatGPT or ClaudeUse WP-CLI to create a category called “Guides”, read it back, then give it the description “How-tos and longer reads.”

Changes your site. Standard asks you first in wp-admin; Trusted does it directly.

  1. Your assistant runs wp term create category and wp term get.
  2. It updates the description with wp term update.
  • “Use WP-CLI to list tags with no posts.”
  • At Standard, creating or changing categories waits for your yes.