# Running UiPath CLI

> Run UiPath CLI tasks on Windows and Linux devices using the appropriate CLI variant.

This section describes how you can use the UiPath Command Line Interface (CLI) depending on your device's operating system and the CLI flavor you have installed.

* **UiPath.CLI.Windows** – CLI designed for Windows devices
* **UiPath.CLI.Linux** – CLI designed for Linux devices
* **UiPath.CLI.Windows.Legacy** – CLI designed for RPA Windows - Legacy projects

## Running UiPath.CLI.Windows.Legacy

You can execute tasks by calling `uipcli.exe` together with the corresponding parameters.
To execute sub-tasks, use the following format:

```
uipcli.exe <task name> <sub-task name> [options]
```

To run the CLI:

1. Open a Command Prompt and navigate to the folder extracted from the `.nupkg` file.
2. Type `uipcli.exe` and press **Enter**.

## Running UiPath.CLI.Linux / UiPath.CLI.Windows / UiPath.CLI.macOS

You can execute tasks by calling `dotnet uipcli.dll` together with the corresponding parameters.
To execute sub-tasks, use the following format:

```
dotnet uipcli.dll <task name> <sub-task name> [options]
```

To run the CLI:

1. Open a terminal window and navigate to the folder extracted from the `.nupkg` file.
2. Type `dotnet uipcli.dll` and press **Enter**.
