Setting Up Your Kendo UI for Angular License Key
Kendo UI for Angular requires activation through a license key during application build and publish. A license key is required for both trial and commercial licenses. This article describes how to download your personal license key or replace an already expired one and use it to activate the Kendo UI for Angular components.
Kendo UI for Angular is a professionally developed library, distributed under a commercial license. Using any of the UI components from the Kendo UI for Angular library requires either a commercial license key or an active trial license key. The activation process is identical for both license types and is required for the proper functioning of all components.
To activate the Kendo UI for Angular components with a trial or commercial personal license key:
If you’re in a hurry, skip the rest of the article and run this command sequence in your project terminal to download and activate your license:
npm install --save @progress/kendo-licensing
npx kendo-ui-license refresh && npx kendo-ui-license activateDownload Your License Key File
To download a license key for Kendo UI for Angular, you must have either a developer license or a trial license. If you are new to Kendo UI for Angular, sign up for a free trial first and then follow the steps below.
Use the refresh command provided by the kendo-licensing package to download a fresh copy of your license key file. The command-line utility will launch your default browser and ask you to log in to telerik.com.
npx -y @progress/kendo-licensing refresh
The license key file will be saved in the current user's home directory:
- For Windows:
%AppData%\Telerik\telerik-license.txt - For Mac/Linux:
~/.telerik/telerik-license.txt
To download the license key file to a different location, use the --output parameter and specify a path or file name:
npx -y @progress/kendo-licensing refresh --output kendo-ui-license.txt
Alternatively, use your browser to download the license key file and place it in the current user's home directory.
Install or Update the License Key File in Your Project
When you start a new trial, purchase a new Kendo UI for Angular license, or renew an existing one, always download and install a new license key. The new license key includes information about all previous license purchases. The procedure for the installation of a new license key and the update of a license key is the same:
-
Install
@progress/kendo-licensingas a project dependency:shnpm install --save @progress/kendo-licensing -
Run the activate command in the console:
shnpx kendo-ui-license activate
If the invalid license attributes are still displayed after you have installed or updated the license key, see the Troubleshooting License Activation article and the FAQ page for more information.
Automatic License Key File Management in Visual Studio Code
The Kendo UI Productivity Tools extension can automatically download and manage your license key file. Simply log in to your Telerik or Kendo UI account from Visual Studio Code to enable this feature. For more information, see the Kendo UI Productivity Tools documentation.