CloudCC Command Line Interface
cloudcc-cli is a command-line interface tool designed to streamline interaction with the CloudCC platform, enabling developers to manage project resources, objects, and perform various maintenance tasks. Currently at version 2.5.2, the CLI receives active updates, as evidenced by multiple releases on the same day in the recent changelog. A key differentiator is its dual command naming convention, offering both `cloudcc` (recommended to avoid conflicts on Unix-like systems) and `cc` for backward compatibility, both pointing to the same binary. It also features integrated release note display during updates and an optional Cursor Agent Skill to assist AI development workflows by providing contextual documentation access. This CLI focuses on simplifying CloudCC-related development and operational tasks through a structured command system.
Common errors
-
cloudcc: command not found
cause The `cloudcc-cli` package was not installed globally, or the npm global bin directory is not in your system's PATH.fixRun `npm i -g cloudcc-cli` to install the CLI globally. If the issue persists, ensure your system's PATH environment variable includes the directory where npm installs global packages (e.g., `~/.npm-global/bin` on Unix-like systems). -
Assertion crash during `cloudcc create project` or template scaffolding failure.
cause Specific issues with template file copying logic or missing expected template files (e.g., `AGENTS.md`, `CLAUDE.md`) in older CLI versions.fixUpdate `cloudcc-cli` to the latest version (`npm update -g cloudcc-cli`). Version 2.5.1 and newer include hardening for template scaffold copying and improved fallback logic for critical files.
Warnings
- gotcha Using the `cc` command alias on macOS/Linux may conflict with the system C compiler (`clang`, `gcc`, etc.).
- breaking The default configuration file format has migrated from JavaScript (`cloudcc-cli.config.js`) to JSON (`cloudcc-cli.config.json`). The legacy JavaScript file is no longer included in package sources.
- gotcha After installing the Cursor Agent Skill, you might need to restart Cursor or reload the editor window for the skill to become active and visible.
Install
-
npm install cloudcc-cli -
yarn add cloudcc-cli -
pnpm add cloudcc-cli
Imports
- cloudcc (CLI command)
import { cloudcc } from 'cloudcc-cli'npm i -g cloudcc-cli cloudcc get version
- cc (CLI command alias)
const cc = require('cloudcc-cli')npm i -g cloudcc-cli cc help version
- Cursor Agent Skill
npm i -g cloudcc-dev-skill
cloudcc install skill
Quickstart
npm i -g cloudcc-cli # Verify installation and get the current version cloudcc get version # Get general help information cloudcc help version # Install the optional Cursor AI agent skill cloudcc install skill