GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing www.contentstack.com — Install the CLI | V2.x.x | Contentstack Install the CLIupdateLast updated November 6, 2026 OverviewContentstack CLI can be installed in macOS, Windows and Linux environments. In this guide, you will learn how to install and update command-line interface (CLI). Warning During an npm install or update the csdx binary is briefly unavailable, for roughly 30 seconds on a typical machine. A CI pipeline that installs the CLI and invokes it in the very next step can fail with a command-not-found error. Add a readiness check such as csdx --version with a short retry loop rather than assuming the binary is ready the moment the install command exits. PrerequisitesInstall CLITo install CLI as a global module in your machine, open your terminal (command prompt) and run this command: 1 npm install -g @contentstack/cli Once the CLI is successfully installed, you can use the csdx command from your terminal. The csdx is a top-level namespace in Contentstack that gives you access to Contentstack's extensive range of commands and functionalities. Additional ResourceVisit our CLI GitHub page for more information. You can also read about Contentstack CLI on the npm page. Next, let us verify the CLI installation. Verify installationVerify your installation by running the following command in your terminal to get a list of commands that will help you to interact with Contentstack. 1 csdx --help
123456789101112131415161718192021222324 C:\Users\vxxxh>csdx --help ____ _ _ _ _ / ___|___ _ __ | |_ ___ _ __ | |_ ___| |_ __ _ ___| | __ | | / _ \| '_ \| __/ _ \ '_ \| __/ __| __/ _` |/ __| |/ / | |__| (_) | | | | || __/ | | | |_\__ \ || (_| | (__| < \____\___/|_| |_|\__\___|_| |_|\__|___/\__\__,_|\___|_|\_\ Command-line tool (CLI) to interact with Contentstack VERSION @contentstack/cli/<cli-version> win32-x64 node-v22.11.0 USAGE $ csdx [COMMAND] TOPICS auth Perform authentication-related activities cm Perform content management activities config Perform configuration related activities plugins List installed plugins COMMANDS help Display help for csdx. plugins List installed plugins.
As shown in the above code, the help namespace contains other namespaces within it. NamespacesNamespace is used to categorize commands as per their functionality or purpose. The following namespaces exist within the csdx command:
Note To build your own plugin for csdx, see Create Custom CLI Plugins for Contentstack. The CLI is built on oclif, so the oclif plugin documentation applies as well. Here are the commands within each namespace:
Refer the section below to check the CLI version on your machine and update it to use the latest version. Check CLI VersionTo check the current version of CLI installed on your machine, run this command in the terminal: 1 csdx --version Running this command will display the current version, as shown below: 12 C:\Users\vxxxh>csdx --version @contentstack/cli/<cli-version> win32-x64 node-v22.11.0 Update CLI VersionAs mentioned above, you can check the version of CLI installed on your machine. 1 npm update -g @contentstack/cli Next Steps
|
| You are visitor 01402775 — 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. |