PCMS CLI

Command-line client for managing Payload documents, media and auth from a terminal

Community 0 4/wk MIT v1.7.0

Installation

pnpm add @mirkobozzetto/pcms-cli

About

PCMS CLI lets you work with a Payload site from the terminal without opening the admin panel. You can create, list, edit, publish, unpublish and delete documents in any collection, upload media files, and read or update globals. It suits people who want to hand content work to a script, a CI job or an AI assistant.

Markdown files can be imported as draft posts, with frontmatter mapped to fields and the body converted to rich text. Documents can be exported back to Markdown or JSON. Filtering uses Payload's query syntax, versions can be listed and restored, and several sites can be saved as profiles at once.

Package info

Package name
@mirkobozzetto/pcms-cli
Latest version
1.7.0
Unpacked size
152 kB
License
MIT
Weekly downloads
4
Last publish
Apr 9, 2026

Scaffolds a new Payload project or adds Payload to an existing Next.js or TanStack app

Automated code transforms that move a Payload project past breaking changes

CLI and registry that installs wired Payload blocks into Next.js projects

Migrates WordPress posts, pages, media, SEO and redirects into Payload

Migrates WordPress sites to Payload from a WXR export file

Converts WordPress WXR exports into Astro, Next.js, Payload or Pruvious projects