GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — cli/README.md at main · contentstack/cli

Expand file tree

/

README.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
69 lines (46 loc) · 2.28 KB
/

README.md

Copy path

File metadata and controls

69 lines (46 loc) · 2.28 KB
Raw
Copy raw file
Download raw file
Outline
Edit and raw actions

Contentstack CLI

Contentstack is a headless CMS with an API-first approach that puts content at the centre. It is designed to simplify the process of publication by separating code from content.

CLI supports content management scripts through which you can perform the following tasks:

  • Bulk publish content
  • Export content
  • Import content
  • Clone Stack
  • Seed Stack from GitHub
  • Perform Launch operations
  • Migrate content
  • Migrate HTML RTE to JSON RTE content
  • Change Master Locale
  • Use Bootstrap plugin
  • Use Tsgen plugin

Installing CLI

Prerequisites

Contentstack account Node.js version 22 or above

Installation

To install CLI on your system, run the below command in your terminal:

npm install -g @contentstack/cli

To verify the installation, run csdx in the command window.

Migration Guide

If you're upgrading from CLI 1.x to 2.x, please refer to our comprehensive Migration Guide for:

  • Breaking changes and new default behaviors
  • Step-by-step migration instructions
  • New features like TypeScript module support and Progress Manager UI
  • Command syntax updates and configuration changes
  • Troubleshooting tips for common migration issues

📖 View Migration Guide →

Usage

After the successful installation of CLI, use the --help parameter to display the help section of the CLI. You can even combine this parameter with a specific command to get the help section of that command.

$ csdx --help

Namespaces

auth: To perform authentication-related activities

cm: To perform content management activities such as bulk operations, import, and export, export-to-csv, seed

help: To list the helpful commands in CLI

config: To set regions and customize them

Documentation

To get a more detailed documentation for every command, visit the CLI section in our docs.

Useful Plugins

  • Generate TypeScript typings from a Stack
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.