# BiTIA Installation
BiTIA CLI is the Command Interface Tool which helps in getting user inputs with commands, directories and required files. It sends tasks to the server, where bitia-runner processes them and generates results.

**To work with BiTIA, we need to install bitia-cli and submit tasks to the server**
## Installing bitia
Installing bitia is very simple, you only need to have [python-pip] installed in your system

BiTIA CLI is available on [PyPi] as [BiTIA].

Ensure you have a working pip with python installed. You can accomplish this by executing the following commands and confirming that the output looks similar



``` bash
$ python --version
Python 3.N.N
$ pip --version
pip X.Y.Z from ... (python 3.N.N)
```
If that worked, congratulations! You have a working pip in your environment.



To Install **BiTIA** using pip, run this command:

  ```{eval-rst}
  .. tabs::

    .. group-tab:: Linux

              ..  code-block:: bash
                      
                     $ python3 -m pip install bitia

    .. group-tab:: MacOS
              
              ..  code-block:: bash
                     
                     $ python3 -m pip install bitia

    .. group-tab:: Windows
              ..  code-block:: bash
                     
                     $ python3 -m pip install bitia
  ```

**Configuration**


TODO: Order of searching configuration file.


  ```{eval-rst}
  .. tabs::

    .. group-tab:: Linux

              ..  code-block:: bash

                  1. ./bitia.toml  
                  2. ~/.bitia.toml  
                  3. $HOME/.config/bitia.toml  
                  4. /etc/bitia.toml

    .. group-tab:: MacOS

              ..  code-block:: bash
           
                     1. ./bitia.toml  
                     2. ~/.bitia.toml  
                     3. $HOME/.config/bitia.toml  
                     4. /etc/bitia.toml   


    .. group-tab:: Windows
           
              ..  code-block:: bash

                     1. bitia.toml
                     2. %APPDATA%\bitia.toml
                     3. %PROGRAMDATA%\bitia.toml
  ```

[BiTIA]: https://pypi.org/project/bitia/
[Pypi]: https://pypi.org/
[install Python]: https://realpython.com/installing-python/
[python-pip]: https://pypi.org/project/pip/