# The Immuta CLI

The Immuta CLI allows users to interact with their Immuta tenant using the command line to manage data sources, projects, policies, and purposes. This feature allows you to have all of your Immuta tenant information in a Git repository and use the CLI to sync your Immuta tenant with the files in your Git repository. To install the Immuta CLI, follow [this installation guide](/SaaS/developer-guides/the-immuta-cli/installation.md).

## Section Overview

You can navigate this section of documentation in two different ways: by [**workflow**](#workflow) or by [**command**](#commands).

### Workflow

The navigation is organized by major workflows you would use in Immuta. Each workflow contains relevant commands. Follow this chronological outline to find commands relevant to your workflow.

1. [Install and Configure the Immuta CLI](/SaaS/developer-guides/the-immuta-cli/installation.md).
2. [Manage Your Immuta Tenant](/SaaS/developer-guides/the-immuta-cli/immuta.md).
3. [Create and Manage Data Sources](/SaaS/developer-guides/the-immuta-cli/datasources.md).
4. [Create and Manage Global Policies](/SaaS/developer-guides/the-immuta-cli/policies.md).
5. [Create and Manage Purposes](/SaaS/developer-guides/the-immuta-cli/purposes.md).
6. [Create and Manage Projects](/SaaS/developer-guides/the-immuta-cli/projects.md).
7. [Manage Audit Export](/SaaS/developer-guides/the-immuta-cli/cli-reference-guide.md).

### Commands

Below is a list of major commands available in the Immuta CLI. Click a command to navigate to its corresponding page that details subcommands, options, and arguments.

* [<mark style="color:blue;">**`immuta`**</mark>](/SaaS/developer-guides/the-immuta-cli/immuta.md): Interact with your Immuta tenant to create data sources, projects, policies, and purposes.
* [<mark style="color:blue;">**`immuta api`**</mark>](/SaaS/developer-guides/the-immuta-cli/immuta.md#immuta-api): Make an authenticated Immuta API request. This command will let you hit any endpoint in the Immuta API, including [version 1 endpoints](/SaaS/developer-guides/api-intro/immuta-v1-api.md). For example, `immuta api /tag` will hit the v1 endpoint to list tags. This allows you to use the `immuta api` command instead of something like Postman or cURL to interact with the V1 API.
* [<mark style="color:blue;">**`immuta clone`**</mark>](/SaaS/developer-guides/the-immuta-cli/immuta.md#clone-your-tenant-immuta-clone): Clone all data sources, projects, purposes, and policies information into files.
* [<mark style="color:blue;">**`immuta completion`**</mark>](/SaaS/developer-guides/the-immuta-cli/installation.md#3-install-tab-completions): Generate shell completion scripts.
* [<mark style="color:blue;">**`immuta configure`**</mark>](/SaaS/developer-guides/the-immuta-cli/installation.md#id-2-configure-the-cli-with-your-immuta-tenant): Specify an Immuta tenant URL and API key to be saved to the Immuta configuration file.
* [<mark style="color:blue;">**`immuta datasource`**</mark>](/SaaS/developer-guides/the-immuta-cli/datasources.md): Manage data sources.
* [<mark style="color:blue;">**`immuta policy`**</mark>](/SaaS/developer-guides/the-immuta-cli/policies.md): Manage Global Policies.
* [<mark style="color:blue;">**`immuta project`**</mark>](/SaaS/developer-guides/the-immuta-cli/projects.md): Manage projects.
* [<mark style="color:blue;">**`immuta purpose`**</mark>](/SaaS/developer-guides/the-immuta-cli/purposes.md): Manage purposes.
* [<mark style="color:blue;">**`immuta audit exportConfig`**</mark>](/SaaS/developer-guides/the-immuta-cli/cli-reference-guide.md): Manage the audit export.


---

# 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://documentation.immuta.com/SaaS/developer-guides/the-immuta-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.
