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 projectadd [plugin]
- Add a plugin to your projectlist
- List available pluginsupdate [plugin]
- Update an installed pluginremove [plugin]
- Remove an installed plugingenerate:collection [name]
- Generate a new collectioninit:config
- Initialize PayloadCLI config filehelp
- Show interactive help menu
Please read our Contributing Guide before submitting a Pull Request to the project.
MIT © PayloadCMS Directory