Scaffolds a new Payload project or adds Payload to an existing Next.js or TanStack app
CLI tools for Payload CMS 22
Start a Payload CMS project with create-payload-app or install ready-made blocks from the terminal. Some CLIs let you or an AI agent edit content.
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
CLI and terminal UI to create and manage multi-tenant Payload sites from one backend
Lets AI agents and scripts read, edit and sync Payload content from the command line
Command-line SEO checks and REST sync for Payload content, built for AI agents
Audits a Payload instance for data leaks by probing collections and GraphQL anonymously
Static linter that flags access control and security mistakes
Command-line access to Payload collections, globals and documents for AI agents
Installs a block-based page builder and CMS into an existing Next.js app
Command-line client for managing Payload documents, media and auth from a terminal
Runs create, update, delete and upsert on Payload collections from the terminal
Collections, globals, email templates and utilities for common Payload site builds
Generates TypeScript types, API clients and React routes from Payload collections
MCP server that lets AI assistants browse, add and generate PayloadKit components
Command-line checker for collection imports that drift from the Payload config
Generates Zapier integration apps from Payload collections
About these packages
CLI tools run Payload tasks from the terminal. They start projects, install blocks, and read or write content without the admin panel. Some work over HTTP. Others need your project config and dependencies, so read each tool's setup notes.
What these tools cover
- create-payload-app, the official scaffolder for new and existing Next.js apps
- The official codemod for moving a Payload 3 project to the Payload 4 beta
- Installers for ready-made Next.js page blocks and fields
- Content CLI, Payload CLI and SEO CLI for agent-driven content edits
- Collection CLI for create, update, delete and upsert from the terminal
- Security, an audit that probes for data readable without login
Choosing a CLI
Use create-payload-app to start a project. To move a Payload 3 project to the Payload 4 beta, run the official codemod and then follow the migration guide. Pick a content CLI by who will drive it. Payload CLI is built for both people and AI agents. Content CLI also ships MCP tools for agents. Give any CLI that writes content a Payload user with only the access it needs. Check the last release and the supported Payload version before you script against a tool.
Frequently asked questions
How do I create a new Payload project?
Run npx create-payload-app and follow the prompts. It scaffolds a new project or adds Payload to an existing Next.js app.
Can a CLI edit Payload content?
Yes. Payload CLI, Content CLI and Collection CLI read and write collections from the terminal. That helps with bulk edits and with AI coding agents. Give them a Payload user with only the access they need.
Can I add ready-made blocks from the command line?
Yes. Components installs ready-made Next.js page blocks into a Payload project and wires them in. Basepl adds ready-made fields and blocks.



