Installation
To install ProconTEL CLI as a global NuGet package extension, follow these steps:
Open a terminal or command prompt
Use the following command to install ProconTEL CLI as a global NuGet package extension:
dotnet tool install --global pct.cli --add-source https://nexus.macrix.eu/repository/pct2022
This command will download the latest version of ProconTEL CLI from the official NuGet repository and install it as a global extension.
To verify that ProconTEL CLI has been successfully installed, type:
pct --version
If everything is set up correctly, you should see the version number of ProconTEL CLI displayed, confirming a successful installation.
For proper use of the CLI, three environment variables must be added.
For Windows system:
Open the Start menu and search for "Environment Variables."
Click on "Edit the system environment variables."
In the System Properties window, click the "Environment Variables" button.
Under the "System variables" section, click the "New" button.
For each variable, enter the Name and Value as follows:
Variable name: PCT_CLI_CLIENT_ID
Variable value: pct-cli
Variable name: PCT_CLI_SERVER_URL
Variable value: https://procontel.local:9800
Variable name: PCT_CLI_CLIENT_SECRET
Variable value: You need to create new External Client with ClientID - 'pct-cli' in External clients, copy Client secret value and paste into Variable value.

Click "OK" to save each environment variable.
After adding the environment variables, restart your computer.
Uninstallation
Open a terminal or command prompt
Use the following command to uninstall ProconTEL CLI as a global NuGet package extension:
dotnet tool uninstall --global pct.cli
Update
Open a terminal or command prompt
Use the following command to update ProconTEL CLI:
dotnet tool update --global pct.cli