DevExtreme CLI
raw JSON → 1.14.2 verified Sat Apr 25 auth: no javascript
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.
Common errors
error Error: Cannot find module 'devextreme' ↓
cause Missing devextreme peer dependency.
fix
Run: npm install devextreme
error command not found: devextreme-cli ↓
cause CLI not installed globally or PATH issue.
fix
Use npx: npx devextreme-cli [command]
error Error: Failed to fetch template. Reason: getaddrinfo ENOTFOUND ↓
cause No internet connection or DNS resolution failure.
fix
Check network connectivity; retry with a stable connection.
Warnings
breaking Requires Node.js version >=20.19.0. Older versions may cause installation errors. ↓
fix Update Node.js to version >=20.19.0.
deprecated Older versions (1.1.x) used outdated template structures incompatible with latest DevExtreme. ↓
fix Upgrade to v1.2+ and regenerate templates.
gotcha The 'devextreme' package is a peer dependency and must be installed separately. Missing it causes command failures. ↓
fix Install devextreme: npm install devextreme
breaking Removed support for AngularJS in v1.2.0. Attempting to use with AngularJS projects will fail. ↓
fix Migrate to Angular 2+ or use older CLI version.
gotcha CLI commands require an active internet connection to download templates. Offline usage is not supported. ↓
fix Ensure network access when running scaffolding commands.
Install
npm install devextreme-cli yarn add devextreme-cli pnpm add devextreme-cli Quickstart
npx devextreme-cli new react-app
cd react-app
npm install
npm start