Load this file when: the user needs exact syntax for any
igcommand — full flag lists, all--typeand--templatevalues,ig configsyntax, upgrading, or the Angular schematics alternative.
ig new "<AppName>" --framework=<f> --type=<t> --template=<tmpl> --theme=<theme>| Framework | Type | Notes |
|---|---|---|
| Angular | igx-ts |
Ignite UI for Angular — standalone components (v13.1.0+) |
| Angular | igx-ts-legacy |
Ignite UI for Angular — module-based bootstrapping |
| Angular | ig-ts |
Ignite UI Angular JS Wrappers |
| React | igr-es6 |
Ignite UI for React (native components) |
| React | igr-ts |
Ignite UI React Wrappers |
| WebComponents | igc-ts |
Ignite UI WebComponents |
| jQuery | js |
Default — --type not required |
| Value | Description |
|---|---|
side-nav |
Side navigation shell (default) |
navbar |
Top navigation bar shell |
base |
Minimal blank app |
side-nav-auth |
Side nav + full auth module (Angular igx-ts only) |
| Flag | Notes |
|---|---|
--framework / -f |
angular, react, jquery, webcomponents |
--type / -t |
See table above |
--template |
See table above |
--theme |
Theme name (options depend on selected project library) |
--skip-install |
Skip automatic npm install |
--skip-git |
Skip Git repository initialization |
add a view (routing) or component with ready-made setup from a choice of components and some common use-case scenarios. Must be run inside a project created with ig new or via ng add igniteui-angular.
ig add <templateId> <ComponentName> [options]| Flag | Version | Notes |
|---|---|---|
--module / -m |
v2.0.0 | Angular only. Path to .module.ts relative to /src/app/ |
--skip-route / -skr |
v3.2.0 | Suppress auto-generating a navigation route |
ig add grid AdminGrid --module=admin/admin.module.ts --skip-routeLists all available templates for the current project's framework and type. Always run before ig add — this is always current and authoritative; template tables in docs may lag.
ig list # uses project's framework when run inside a project
ig list --framework=angular --type=igx-ts
ig list -f react
ig l # alias
⚠️ Always runig listto confirm templateIds before runningig add.
Creates a custom component template scaffold. Registers it under customTemplates in global config, making it available via ig list and ig add. Runs interactively.
ig generateig doc igx-grid
ig doc "igx-grid paging help"
ig doc # prompts interactivelyig config get <property> [--global]
ig config set <property> <value> [--global]
ig config add <property> <value> [--global]- Local:
ignite-ui-cli.jsonin project root - Global: user home directory (
~on Unix /C:\Users\<user>on Windows)
npm install -g igniteui-cli # update CLI globally
ng update igniteui-angular # keep in sync with Angular
ng g @igniteui/angular-schematics:upgrade-packages # trial → licensed migrationMigration rewrites sources to packages.infragistics.com. Requires a licensed account — trial accounts get 403 errors.
For Angular CLI projects not created with ig new:
npm i -g @igniteui/angular-schematics
ng add igniteui-angular
ng g @igniteui/angular-schematics:<templateId> --name=<n>
ng new --collection=@igniteui/angular-schematicsRunning ig or ig new without arguments launches the Inquirer.js wizard. Supported terminals: Windows Terminal, iTerm2, VS Code integrated terminal.