npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@celonis/content-cli

v1.10.0

Published

CLI Tool to help manage content in Celonis Platform

Downloads

1,912

Readme

Content CLI

Content CLI is a tool to help manage content in Celonis Platform. It provides various commands to help extract content like analyses, packages, assets and others from your Celonis Platform team to your local machine, which you can then push to other teams. This process can be easily achieved by creating profiles for your different teams and execute commands in a profile's context.

Table of Contents

  1. Getting Started
  2. About the Project
  3. Building the Project
  4. Troubleshooting
  5. Release Process
  6. Contributing
  7. License

Getting Started

To get started with using Content CLI, you will need to have node installed in your local machine. Please download the LTS version that is recommended for most users from the node web page here. After installing node you can run the following command in the terminal (cmd for Windows users) to install Content CLI. Note that the same command is used for updating Content CLI too.

npm install -g @celonis/content-cli

You can verify that the installation was successful by running the following command in the terminal, which prints the installed version of Content CLI:

content-cli -V

To get started with using Content CLI, you can follow some examples to manage content that are available as part of our pycelonis examples library here.

About the Project

Content CLI has three core functionalities:

Profile: The CLI connects to the Celonis Platform environments through profiles. For each of the commands you can specify which profile you want to use. This makes it powerful in the sense that you can pull something from let's say team1.cluser1 and push it directly to team2.cluster2 easily. You can create a profile using the following command:

content-cli profile create

Pull: This feature allows you to download content from the Celonis Platform to your local machine. Let's take Studio package as an example. These can be exported in the Celonis Platform as ZIP files that contain all package assets. By using the following command using the package key and profile you have created, you will pull the ZIP file.

content-cli pull package -p <profile-name> --key <package-key>

Example, if you want to pull a package with key "interesting-package" from your profile "my-dev-profile", the command will look like this:

content-cli pull package -p my-dev-profile --key interesting-package

Push: This feature allows you to push a content file to a team in the Celonis Platform. To continue the last example, you can use the following command to push he previously pulled package in another team.

content-cli push package -p <profile-name> --spaceKey <space-key> -f <file-to-push.zip>

Example, if you want to push a package from zipped file "interesting-package.zip" to you team of profile "my-dev-profile" with the space "my-cool-space", the command will look like this:

content-cli push package -p my-dev-profile --spaceKey my-cool-space -f interesting-package.zip

A comprehensive list of Content CLI capabilities can be found in the documentation.

You can still explore the full capabilities of Content CLI and the list of options for the different commands by using the -h option in your command.

content-cli -h
content-cli pull package -h

Building and Using the Project locally

This tool is tightly connected with the Celonis Platform and all capabilities require to have access to a Celonis Platform Team.

Prerequisites

  • Node.js >=18.20.5 (LTS recommended). Check with node -v.
  • yarn package manager. Install with npm install -g yarn if not already available.

Build steps

git clone https://github.com/celonis/content-cli.git
cd content-cli
yarn install
yarn build

The build compiles TypeScript into the dist/ folder and copies package.json there.

Running the built CLI

You can run the built artifact directly from the dist folder:

node dist/content-cli.js -h

Installing the local build globally

To use your local build as the global content-cli command:

cd dist
npm link

This creates a symbolic link in the global node_modules directory, allowing you to run content-cli from anywhere on your machine. To unlink later, run npm unlink -g @celonis/content-cli.

Troubleshooting

Error: Cannot find module '...'

If you see a Cannot find module error when running content-cli, dependencies may not be installed correctly:

  • Global install: Try updating to the latest version: npm install -g @celonis/content-cli@latest.
  • Local development: Run yarn install from the project root before building.

content-cli: command not found

  • Ensure Node.js is installed and on your PATH (node -v).
  • If installed via npm install -g, check that npm's global bin directory is in your PATH. You can find it with npm bin -g.
  • If using npm link, make sure you ran it from the dist/ directory (not the project root).

Node.js version errors

Content CLI requires Node.js >=18.20.5. If you see compatibility errors, upgrade your Node.js installation. We recommend using nvm to manage Node.js versions:

nvm install --lts
nvm use --lts

Release Process

We manage releases using Github Actions with the Build and Publish Workflow. This action gets executed manually by the Codeowners when there are changes that need to be published. This builds the project and publishes the package to the Github registry. You can install the latest published version of the Content CLI using the following command:

npm i -g @celonis/content-cli

Contributing

We encourage public contributions! Please check CONTRIBUTING.md for details on our code of conduct.

For details on command development, refer to the How to Add a Command guide.

License

Copyright (c) 2021 Celonis SE

This project is licensed under the MIT License - see LICENSE file for details.