Install DevExpress Components & Templates from CLI
- 2 minutes to read
Install DevExpress Blazor components and templates to create Blazor projects from the command line.
Install DevExpress Blazor Components
- Obtain DevExpress NuGet feed credentials.
Register the DevExpress NuGet feed as a package source with the following command:
dotnet nuget add source https://nuget.devexpress.com/api/v3/index.json -n DXFeed -u DevExpress -p {your-feed-authorization-key}Note
Non-Windows operating systems do not support password encryption. To store credentials as plain text on these systems, add the
--store-password-in-clear-textoption to the command.dotnet nuget add source https://nuget.devexpress.com/api/v3/index.json -n DXFeed -u DevExpress -p {your-feed-authorization-key} --store-password-in-clear-textFor more information on managing credentials securely, refer to the following article: Security best practices for managing credentials.
Refer to the following help topic for instructions on how to install, update, and remove NuGet packages in Rider: Consume NuGet packages.
Install DevExpress Blazor Templates
DevExpress Blazor project templates are included in our Unified Component Installer.
You can also install the templates from nuget.org or the DevExpress NuGet Gallery (nuget.devexpress.com). If you are new to NuGet, visit the following page for more information about package management prerequisites: An Introduction to NuGet.
Make certain that the nuget.org source is enabled. If it is disabled, you may get error NU1101: Unable to find package DevExpress.Blazor.ProjectTemplates. To list sources with their status, run dotnet nuget list source. To enable a source, run dotnet nuget enable source <source name>.