A command-line interface tool for managing PayloadCMS plugins and configurations.
- 🚀 Initialize PayloadCMS projects
- 📦 Install and manage plugins
- 🔨 Generate collections and configurations
- 🎯 Interactive menus for easy navigation
- ⚙️ Project configuration management
npm install -g @payloadcmsdirectory/cli
# or
yarn global add @payloadcmsdirectory/cli
# or
pnpm add -g @payloadcmsdirectory/cli
Run the CLI:
payloadcli
Or use it directly with npx:
npx @payloadcmsdirectory/cli
-
init
- Initialize a PayloadCMS project -
add [plugin]
- Add a plugin to your project -
list
- List available plugins -
update [plugin]
- Update an installed plugin -
remove [plugin]
- Remove an installed plugin -
generate:collection [name]
- Generate a new collection -
init:config
- Initialize PayloadCLI config file -
help
- Show interactive help menu
Please read our Contributing Guide before submitting a Pull Request to the project.
MIT © PayloadCMS Directory