# Terrakube CLI

{% hint style="danger" %}
The CLI is not compatible with Terrakube 2.X, it needs to be updated and there is an open issue for this [feature](https://github.com/AzBuilder/terrakube/issues/306)
{% endhint %}

`terrakube cli` is Terrakube on the command line. It brings organizations, workspaces and other Terrakube concepts to the terminal.

In this section:

{% content-ref url="/pages/-MlS1MLW0rMzpYwjjBf6" %}
[Getting started](/2.22.0/user-guide/terrakube-cli/getting-started.md)
{% endcontent-ref %}

{% content-ref url="/pages/-MfAU87Fcn7g3zoHM030" %}
[Installation](/2.22.0/user-guide/terrakube-cli/install.md)
{% endcontent-ref %}

{% content-ref url="/pages/-MfAUw6mkcWE1ZxpoMrr" %}
[Commands](/2.22.0/user-guide/terrakube-cli/commands.md)
{% endcontent-ref %}


---

# 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.terrakube.io/2.22.0/user-guide/terrakube-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.
