New to Telerik UI for BlazorStart a free 30-day trial

Telerik CLI

Updated on Jun 2, 2026

The Telerik CLI is a .NET tool that can help you set up your Telerik development environment, including:

Installation

The Telerik CLI NuGet package is hosted on nuget.org. To install the Telerik CLI .NET tool globally on your computer, run the following command in your preferred command shell:

Install Telerik CLI

SH
dotnet tool install -g Telerik.CLI

Without the -g flag, .NET installs the tool in the current folder only.

To confirm successful installation, run:

SH
dotnet tool list -g

To update the Telerik CLI to the latest version, run:

SH
dotnet tool update telerik.cli -g

To uninstall the Telerik CLI, run:

SH
dotnet tool uninstall -g Telerik.CLI

Usage

There are two ways to use the Telerik CLI:

  • Execute the telerik tool without any commands or options. This starts the interactive experience which allows you to see a list of all available commands and navigate through them with the Up and Down arrow keys.

    SH
    telerik
  • Type the telerik tool name, followed by the respective command and options. First, log in the CLI to use the other commands effectively.

    SH
    telerik login

Help

To get help about the tool or a specific command, use the -h option:

Getting help in the Telerik CLI

SH
telerik -h

telerik nuget -h

telerik nuget config -h

Manual Authentication

Most Telerik CLI commands rely on authentication. If you are not logged in the CLI before command execution, the web browser opens https://identity.telerik.com where you need to provide your Telerik account credentials. On successful authentication, the browser redirects to https://login.telerik.com and then to localhost. If this browser integration fails due to security or network settings, you can also authenticate manually. In this case, use the --no-browser option, which is available for the following Telerik CLI commands:

  • login
  • license get-key
  • nuget config

Using Telerik CLI commands with manual authentication

SH
telerik login --no-browser

telerik license get-key --no-browser

In manual mode, the CLI outputs a link to https://identity.telerik.com for you to open in a browser. On successful authentication, the browser redirects to https://login.telerik.com. Copy this URL, paste it in the CLI, and press Enter.

The Telerik CLI can fall back to manual authentication even if the --no-browser option is not set. This happens if the automatic authentication takes longer than three minutes.

Verbose Output

To see more detailed diagnostic output of any command, use the --verbose option:

Getting detailed command output in the Telerik CLI

SH
telerik setup blazor --verbose

telerik nuget config --verbose

telerik license get-key --verbose

JSON Output

Each Telerik CLI command has two output formats:

  • Human readable (default)
  • JSON—to use it, append the --json option

Telerik CLI output format comparison

SH
telerik whoami
Logged in as john.doe@telerik.com.

telerik whoami --json
{
  "exitCode": 0,
  "message": "Logged in as john.doe@telerik.com.",
  "data": {
    "email": "john.doe@telerik.com",
    "firstName": "John",
    "lastName": "Doe"
  },
  "success": true
}

Disable Automatic Updates

By default, the Telerik CLI will check for newer Telerik.CLI NuGet package version on every command execution. To disable the update check, use the --no-update-check option:

Skipping Telerik CLI update checks

SH
telerik setup blazor --no-update-check

telerik nuget config --no-update-check

telerik license get-key --no-update-check

Log In

Most Telerik CLI commands are related to your Telerik identity. It's recommended to log in first, so that all the other commands work without the need for additional authentication:

SH
telerik login

The login command opens https://identity.telerik.com in a browser window where you need to provide your Telerik account credentials. Then the browser makes of couple of redirects. If this process does not succeed, see Manual Authentication above.

The Telerik CLI stores a session token in:

Operating SystemPath
Windows%AppData%\Telerik
macOS / Linux~/.telerik

The session token is valid for one month.

Check Login State

To see which Telerik user is logged in the CLI, use the whoami command:

SH
telerik whoami

The CLI will output your Telerik user account email.

Log Out

To log out from the Telerik CLI, use the logout command.

SH
telerik logout

Get License Key

To download or update your Telerik license key, use the license get-key command:

SH
telerik license get-key

The license get-key command downloads your up-to-date Telerik license key and creates a telerik-license.txt file in your operating system user's folder.

Set Up NuGet Feed

To add the Telerik NuGet server to your package sources, use the nuget config command:

SH
telerik nuget config

By default, the nuget config command updates your global NuGet.Config file. The newly added Telerik NuGet feed name is TelerikNuGetV3. The command generates a new API key that you can delete and revoke from the API Keys page in your Telerik account.

Telerik NuGet API keys expire in two years.

You can use the nuget config command with the following options:

  • --scope project and --path that points to the folder that contains the NuGet.Config file to modify. The default --scope value is user.
  • --api-key to provide an existing Telerik NuGet API key inline, otherwise the CLI generates a new one.
  • --force to overwrite any existing Telerik credentials in the NuGet.Config file.
SH
telerik nuget config --scope project --path . --force

Install MCP Server

To install the Telerik Blazor MCP server, use the mcp config command:

SH
telerik mcp config

By default, the command creates or updates the global mcp.json configuration files of all supported IDEs with all available Telerik MCP servers.

IDEOperating SystemConfiguration File Path
Visual StudioWindows%USERPROFILE%\.mcp.json
VS CodeWindows%APPDATA%\Code\User\mcp.json
VS CodemacOS~/Library/Application Support/Code/User/mcp.json
VS CodeLinux~/.config/Code/User/mcp.json
CursorWindows%USERPROFILE%\.cursor\mcp.json
CursormacOS, Linux~/.cursor/mcp.json

You can also fine-tune the process with the following options:

  • Specify which Telerik products you are interested in, for example, just blazor.
  • --ide specifies your preferred IDE. The supported values are visualstudio, vscode, cursor, and all.
SH
telerik mcp config blazor --ide visualstudio

Create Telerik Blazor App

To create a new Blazor app that includes Telerik UI for Blazor with the help of the Telerik UI for Blazor project templates, use the create command:

SH
telerik create blazor

The Telerik CLI will list the available Telerik Blazor templates and prompt for all template settings, such as theme or icon type.

You can use the create command with the following options:

  • -o or --output to set the parent folder for the new app. By default, that's the current folder.
  • --skip-template-install to avoid downloading or updating the Telerik.Blazor.Templates NuGet package if you already have it.

Set Up Telerik Environment

The setup command performs multiple actions at once to configure your Telerik development environment:

SH
telerik setup blazor

You can use the setup command with the following options:

  • --scope and --nuget-path that determine if the Telerik NuGet feed is added to the global NuGet.Config file or to a project-specific file.
  • --force to overwrite any existing Telerik credentials in the NuGet.Config file.
  • --interactive to prompt the user at every step. Each prompt shows the default value in brackets and Enter accepts it. This option is enabled by default when the standard input is a CLI terminal and Console.IsInputRedirected is false.
  • --no-interactive to run without prompting the user and rely on explicit inline options or defaults. This option is enabled by default when the standard input is redirected and Console.IsInputRedirected is true. The option is recommended for automation and CI use.
SH
telerik setup blazor --scope project --nuget-path . --force --no-interactive

See Also