Share via


Agent 365 CLI

Important

You need to be part of the Frontier preview program to get early access to Microsoft Agent 365. Frontier connects you directly with Microsoft’s latest AI innovations. Get hands-on with breakthrough features, share your insights with product teams, and help shape the future of AI. Frontier previews are subject to the existing preview terms of your customer agreements. As these features are still in development, their availability and capabilities may change over time.'

Agent 365 CLI is a cross-platform command-line tool for deploying and managing Agent 365 applications on Azure.

Install the Agent 365 CLI

Use the following steps to install the Agent 365 CLI globally on your operating system.

Prerequisites

You must have .NET installed. (.NET 8.0 is recommended.)

Use dotnet tool install

Install Agent 365 CLI by using the dotnet tool install command:

dotnet tool install --global Microsoft.Agents.A365.DevTools.Cli

Verify installation

After installing the Agent 365 CLI, verify that it's properly installed by running:

a365 -h

This command displays the help information and confirms the CLI is ready to use.

Update

Update Agent 365 CLI by using the dotnet tool update command:

dotnet tool update --global Microsoft.Agents.A365.DevTools.Cli

Note

All updates for Agent 365 CLI require internet connection to access the latest Nuget package: Microsoft.PowerApps.CLI

Uninstall

Uninstall Agent 365 CLI by using the dotnet tool uninstall command:

dotnet tool uninstall --global Microsoft.Agents.A365.DevTools.Cli

File locations

The default location for a tool's executable file depends on the operating system:

OS Path
Linux/macOS $HOME/.dotnet/tools
Windows %USERPROFILE%\.dotnet\tools

This location is added to the user's path when the SDK is first run. So global tools can be invoked from any directory without specifying the tool location.

Tool access is user-specific, not machine global. A global tool is only available to the user that installed the tool.

Available commands

For the complete list of available commands, use the --help command or see Agent 365 CLI Reference