# Installing CLI

[Apolo Web Shell](https://console.apolo.us/apps/shell/install) application doesn't require installation and can quickly get you familiar with Apolo, allowing you to work with the platform in a browser.

Installing Apolo CLI locally can be more efficient for long-term use, as your source code and other local files will be stored directly on your machine. Additionally, using Apolo CLI provides you with more flexible and extensive functionality, allowing for greater control and customization of your development environment.

## Installation instructions

{% tabs %}
{% tab title="Linux and Mac OS" %}
**Installing via pipx**

Our *apolo-all* package available in pipx will automatically install all required components:

```
pip install pipx
pipx install apolo-all
pipx upgrade apolo-all
```

**Installing via pip**

You can also install all of the components through pip.

Apolo CLI requires Python 3 installed (recommended: 3.8; required: 3.7.9 or newer). We suggest using the [Anaconda Python 3.8 Distribution](https://www.anaconda.com/distribution/).

```
pip install -U apolo-cli apolo-extras apolo-flow
apolo login [API URL]
```

API URL for ScottData : <https://api.apolo.scottdata.ai/api/v1>

If your machine doesn't have GUI, use the following command instead of apolo login:

```
apolo config login-headless [API URL]
```

{% endtab %}

{% tab title="Windows" %}
**Installing via pipx**

Our *apolo-all* package available in pipx will automatically install all required components:

```
pip install pipx
pipx install apolo-all
pipx upgrade apolo-all
```

**Installing via pip**

You can also install all of the components through pip.

We highly recommend using the [Anaconda Python 3.8 Distribution](https://www.anaconda.com/distribution/) with default installation settings.

When you have it up and running, run the following commands in Conda Prompt:

```
conda install -c conda-forge make
conda install -c conda-forge git    
pip install -U apolo-cli apolo-extras apolo-flow
pip install -U certifi
apolo login [API URL]
```

API URL for ScottData : <https://api.apolo.scottdata.ai/api/v1>

To make sure that all commands you can find in our documentation work properly, don't forget to run `bash` every time you open Conda Prompt.
{% endtab %}
{% endtabs %}


---

# 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.apolo.us/index/apolo-concepts-cli/installing.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.
