@contentstack/cli
v2.0.2
Published
Command-line tool (CLI) to interact with Contentstack
Downloads
67,233
Readme
@contentstack/cli
Use Contentstack Command-line Interface (CLI) to interact with Contentstack directly from your terminal.
Requirements
Node.js v22 or higher — download from nodejs.org.
Installation
npm install -g @contentstack/cliUsage
csdx --version
csdx --help
csdx auth:loginFor complete documentation, visit the Contentstack CLI docs.
Bundled Plugins
| Plugin | Description | Docs |
|--------|-------------|------|
| @contentstack/cli-auth | Authentication — login, logout, token management | Docs |
| @contentstack/cli-config | Region and early-access header configuration | Docs |
| @contentstack/cli-cm-import | Import stacks and modules into Contentstack | Docs |
| @contentstack/cli-cm-export | Export stacks and modules from Contentstack | Docs |
| @contentstack/cli-cm-seed | Seed a stack from a GitHub repository | Docs |
| @contentstack/cli-cm-bootstrap | Bootstrap a new Contentstack project | Docs |
| @contentstack/cli-cm-export-to-csv | Export entries, taxonomies, terms, and org users to CSV | Docs |
| @contentstack/cli-cm-clone | Clone a stack to another stack | Docs |
| @contentstack/cli-migration | Run stack migration scripts | Docs |
| @contentstack/cli-cm-branches | Branch management — create, diff, and merge | Docs |
| @contentstack/cli-audit | Audit and fix content type and entry issues | Docs |
| @contentstack/cli-bulk-operations | Bulk operations across stack content | Docs |
Installable Plugins
These are Contentstack-owned plugins not bundled in the default install. Add any of them with:
csdx plugins:install <plugin-name>| Plugin | Description | Docs |
|--------|-------------|------|
| @contentstack/apps-cli | Build, deploy, and manage Contentstack apps | Docs |
| contentstack-cli-tsgen | Generate TypeScript typings from a stack's content types | Docs |
| contentstack-cli-content-type | Retrieve and inspect content types in a stack | Docs |
| @contentstack/cli-launch | Deploy and manage Contentstack Launch projects | Docs |
| @contentstack/cli-cm-regex-validate | Validate regex properties on content type and global fields | Docs |
| @contentstack/cli-external-migrate | Migrate content from an external source into Contentstack | — |
| @contentstack/cli-cm-export-query | Export stack content using query filters | Docs |
