To install LazyMagic CLI Tool: Navigate to your User folder in a console, then run dotnet tool install --global LazyMagicCLI --version 3.1.0 --add-source LazyMagicOrg
from the directory containing your NuGet.Config file.
The LazyMagic CLI Tool is a .NET global tool that provides command-line access to LazyMagic's code generation capabilities. Install this tool even if you're using the Visual Studio IDE extension, as it provides additional functionality for project management and automation.
Open a console (Command Prompt or PowerShell) and navigate to your User folder:
cd C:\Users\yourusername
Important: You must be in the User folder where your NuGet.Config file is located for the installation to access the LazyMagicOrg package source.
Run the following command to install the LazyMagic CLI Tool globally:
dotnet tool install --global LazyMagicCLI --version 3.1.0 --add-source LazyMagicOrg
Verify the tool was installed successfully:
LazyMagicCLI --version
You should see version information displayed.
To update the LazyMagic CLI Tool to a newer version:
cd C:\Users\yourusername
dotnet tool update --global LazyMagicCLI --version 3.1.0 --add-source LazyMagicOrg
To verify the LazyMagic CLI Tool is working correctly:
LazyMagicCLI --help
dotnet tool list --global
After successfully installing the LazyMagic CLI Tool, proceed to install the LzAws PowerShell Module in the next step of the LazyMagic setup process.