How to Set Up a Per-Project Kendo UI for Angular License Key
Environment
| Product | Kendo UI for Angular |
| Version | Q1 2025 and later |
Description
How can I set up the Kendo UI for Angular license key on a per-project basis instead of using the global user-level configuration? This approach is useful when you work with multiple projects that require different license keys or when you prefer to keep the license configuration specific to each project.
Solution
To configure a per-project license key:
-
Download your license key file from your Telerik account. The downloaded file is named
telerik-license.txt. -
Copy the
telerik-license.txtfile to the root folder of your Angular project. This is the same folder that contains thepackage.jsonfile. -
Add the license key file to
.gitignoreto prevent committing it to source control, as this is your personal license key:gitignore# Kendo UI License Key telerik-license.txt -
Install the
@progress/kendo-licensingpackage as a project dependency if you haven't already:shnpm install --save @progress/kendo-licensing -
Run the activation command to validate and activate the license key:
shnpx kendo-ui-license activate
The licensing mechanism will now use the telerik-license.txt file from your project root directory.
Do not commit to source control: The
telerik-license.txtfile contains your personal license key and must not be committed to version control systems. Always add it to.gitignore.