{"id":18276,"library":"devextreme-cli","title":"DevExtreme CLI","description":"DevExtreme CLI is a command-line tool for scaffolding and building DevExtreme applications. Version 1.14.2 supports creating new projects, adding templates, and managing themes for React, Angular, and Vue frameworks. Requires Node.js >20.19.0 and is distributed under the MIT license. It integrates with DevExtreme components and provides a themebuilder for customizing themes. The tool is actively maintained by DevExpress.","status":"active","version":"1.14.2","language":"javascript","source_language":"en","source_url":"https://github.com/DevExpress/devextreme-cli","tags":["javascript","devexpress","devextreme","cli","themebuilder","theme","application"],"install":[{"cmd":"npm install devextreme-cli","lang":"bash","label":"npm"},{"cmd":"yarn add devextreme-cli","lang":"bash","label":"yarn"},{"cmd":"pnpm add devextreme-cli","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"Core DevExtreme library required for runtime components and templates","package":"devextreme","optional":false}],"imports":[],"quickstart":{"code":"npx devextreme-cli new react-app\ncd react-app\nnpm install\nnpm start","lang":"javascript","note":"Alternative frameworks: angular, vue","description":"Shows how to create a new DevExtreme React application using the CLI."},"warnings":[{"fix":"Update Node.js to version >=20.19.0.","message":"Requires Node.js version >=20.19.0. Older versions may cause installation errors.","severity":"breaking","affected_versions":"<20.19.0"},{"fix":"Upgrade to v1.2+ and regenerate templates.","message":"Older versions (1.1.x) used outdated template structures incompatible with latest DevExtreme.","severity":"deprecated","affected_versions":"1.1.x"},{"fix":"Install devextreme: npm install devextreme","message":"The 'devextreme' package is a peer dependency and must be installed separately. Missing it causes command failures.","severity":"gotcha","affected_versions":">=1.0.0"},{"fix":"Migrate to Angular 2+ or use older CLI version.","message":"Removed support for AngularJS in v1.2.0. Attempting to use with AngularJS projects will fail.","severity":"breaking","affected_versions":">=1.2.0"},{"fix":"Ensure network access when running scaffolding commands.","message":"CLI commands require an active internet connection to download templates. Offline usage is not supported.","severity":"gotcha","affected_versions":">=1.0.0"}],"env_vars":null,"last_verified":"2026-04-25T00:00:00.000Z","next_check":"2026-07-24T00:00:00.000Z","problems":[{"fix":"Run: npm install devextreme","cause":"Missing devextreme peer dependency.","error":"Error: Cannot find module 'devextreme'"},{"fix":"Use npx: npx devextreme-cli [command]","cause":"CLI not installed globally or PATH issue.","error":"command not found: devextreme-cli"},{"fix":"Check network connectivity; retry with a stable connection.","cause":"No internet connection or DNS resolution failure.","error":"Error: Failed to fetch template. Reason: getaddrinfo ENOTFOUND"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}