Skip to content

ProAuth CLI Installation ​

The ProAuth CLI is a command-line interface tool designed for administrators and DevOps engineers to automate tasks such as configuring the ProAuth server in pipeline automation or interacting with the API without using the Admin App frontend.

Installation ​

The ProAuth CLI is distributed as a .NET tool and can be installed using the .NET CLI:

bash
dotnet tool install ProAuth.Cli --global --configfile ~/nuget-config.config --version <ProAuth-version>

TIP

We recommend using the same version for the CLI as your ProAuth product version. Always use the --version flag to ensure compatibility.

WARNING

The CLI is distributed through our private NuGet feed, which requires authentication.

Authentication Options ​

There are two ways to access the CLI package:

  1. Direct authentication to our feed: Use a NuGet config file with feed authentication details provided by us, as shown in the installation command.

  2. Internal package distribution: Alternatively, you can distribute the package through your internal feed with your own authentication settings.

Authentication settings for our private feed are provided to customers in the same way as access to the Docker registry.

Verification ​

Once the tool is installed, you can verify it's working by running:

bash
proauthcli --version

This should display the currently installed version of the CLI tool.

Support-provided CLI Archive ​

If ProAuth support supplies a CLI ZIP for your product version, extract the entire archive into a new directory, preserving all subdirectories. Install the .NET 10 SDK, which includes the .NET and ASP.NET Core runtimes required by the CLI.

Run the extracted CLI directly from that directory:

bash
dotnet ./ProAuthCli.dll --version
dotnet ./ProAuthCli.dll migrate v2tov3 --help

Use dotnet ./ProAuthCli.dll in place of proauthcli for subsequent commands. For the database upgrade procedure and required arguments, see Database migration.

If a migration command reports that Microsoft.Data.SqlClient cannot be loaded, the installed CLI may be missing runtime files. Obtain a corrected CLI package or a complete archive from support. Libraries in directories named net9.0 can run within the .NET 10 CLI; installing .NET 9 does not repair missing CLI files.

Next Steps ​

After installation, the CLI can be executed by calling proauthcli from your terminal. For detailed usage instructions, refer to the CLI Usage documentation.