# Unitlab CLI

{% hint style="info" %}
This **guide** shows how to use the most common CLI commands
{% endhint %}

#### Common commands

After [installing the Unitlab package](/cli-python-sdk/get-started.md), you can efficiently manage your projects and datasets through the terminal. To access all the available commands,  run `unitlab --help`. However, before executing any command, ensure you have an API key, which can be obtained by visiting the user account page.

<figure><img src="/files/rOCv5BinBGThIzvTemW5" alt=""><figcaption></figcaption></figure>

#### Configuration

This command helps you configure your credentials. It saves the API key and URL in a configuration file  `~/.unitlab/credentials`for future use. Other commands can override the default API key if provided as an `--api-key`option.&#x20;

<figure><img src="/files/9NDYWoPNu8F6wIzdCxoj" alt=""><figcaption></figcaption></figure>

#### Project list

To retrieve a list of your current projects, execute `unitlab project list`.

<figure><img src="/files/n0BpWErXqubYFy3xiGa1" alt=""><figcaption></figcaption></figure>

#### Uploading data

Users can upload images to the Unitlab project by using the `unitlab project upload` command.

<figure><img src="/files/tsoJ68aUd4PX4nygr3om" alt=""><figcaption></figcaption></figure>

#### Dataset list

The command `unitlab dataset list` allows users to list available public and private datasets.

<figure><img src="/files/uH9WVhp6fhhPRx1Ei8pg" alt=""><figcaption></figcaption></figure>

#### Download a dataset

To download datasets, use `unitlab dataset download` command:

<figure><img src="/files/nU60QZ6td7WqpKwBoGtP" alt=""><figcaption></figcaption></figure>

The examples are just a few of the CLI commands available to users. Depending on your specific needs and preferences, you can use a wide range of other commands.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.unitlab.ai/cli-python-sdk/unitlab-cli.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
