> For the complete documentation index, see [llms.txt](https://docs.bito.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bito.ai/other-bito-ai-tools/bito-cli/how-to-use.md).

# How to use?

## Prerequisites&#x20;

Terminal&#x20;

* Bash (for Mac and Linux)&#x20;
* CMD (for Windows)&#x20;

## Using Bito CLI&#x20;

Before you can use Bito CLI, you need to [install](/other-bito-ai-tools/bito-cli/install-or-uninstall.md) and [configure](/other-bito-ai-tools/bito-cli/configuration.md) it. Once the setup is done, follow the steps below:&#x20;

* **Execute Chat:** Run `bito` command on command prompt to get started. Ask anything you want help with such as `awk command to print first and last column`.&#x20;
* **Note:** Bito CLI supports long prompts through multiline input. To complete and submit the prompt, press `Ctrl+D`. `Enter/Return` key adds a new line to the input.&#x20;
* Exit Bito CLI: To quit/exit from Bito CLI, type `quit` and press `Ctrl+D` .&#x20;
* Terminate: Press `Ctrl+C` to terminate Bito CLI.&#x20;

{% hint style="info" %}
Here is the complete list of [**available commands for Bito CLI**](/other-bito-ai-tools/bito-cli/available-commands.md).
{% endhint %}

## Getting Started&#x20;

Check out the video below to get started with Bito CLI.

{% embed url="<https://youtu.be/3dkg7oOSELQ>" %}

## Examples&#x20;

Here are two examples for you to see My Prompt in action:&#x20;

1. How to Create Git Commit Messages and Markdown Documentation with Ease using Bito CLI My Prompt:&#x20;

{% embed url="<https://www.youtube.com/watch?v=q42hqwT-jsg>" %}

2. How to generate test data using Bito CLI My Prompt:&#x20;

{% embed url="<https://www.youtube.com/watch?v=GYa0p511NUQ>" %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.bito.ai/other-bito-ai-tools/bito-cli/how-to-use.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
