Deco CLI v0.29.0 is the command-line interface for managing AI-native projects on decocms.com. It supports authentication, project scaffolding, local development with live preview via deco link, type generation, and deployment to Cloudflare Workers. The package is distributed as an npm package requiring Node.js >=24.0.0. It uses ESM-only exports and ships TypeScript declarations. Unlike generic CMS CLIs, it is tailored for the Deco platform with built-in MCP (Model Context Protocol) integration and self-hostable hosting features.
npm install deco-cliVerified import paths — ran on the pinned version, not inferred.
Demonstrates programmatic authentication and running the deploy command using the deco-cli API.
Use import syntax and update Node.js to >=24.0.0.
Import commands from their respective subpaths, e.g., import { deploy } from 'deco-cli/commands'.Use npm run dev instead for a stable development experience.
Set process.env.DECO_CHAT_API_TOKEN if you need to override the stored token.
Update Node.js to the latest LTS or version 24+.
Use import syntax: import deco from 'deco-cli'
Install version >=0.29.0 and use correct subpath imports.
Use import { login } from 'deco-cli/commands'Upgrade Node.js to version >=24.0.0.
No dependency data recorded yet.