> For the complete documentation index, see [llms.txt](https://docs.pynt.io/documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.pynt.io/documentation/api-security-testing/how-to-install-pynt-cli.md).

# How to Install Pynt CLI

{% hint style="success" %}
**At a Glance**: 🚀 Learn how to install the Pynt container for seamless API security testing in a few simple steps. This guide covers everything from setting up Pynt CLI to running your first Pynt scan.
{% endhint %}

## Introduction

Installing the Pynt container is a straightforward process, enabling you to set up and deploy comprehensive API security testing in your environment. Whether you're integrating Pynt into CI/CD pipelines or running it standalone, follow these steps to get Pynt up and running smoothly.

{% hint style="info" %}
💡 **Why Pynt's Container is Needed**: Pynt's container allows you to run Pynt from any location, supporting deployment in local or on-premises. It ensures Pynt is available for API security testing in flexible setups. However, for **Postman**, there’s an option to run **Pynt directly from the SaaS platform**, eliminating the need to install a container. If you prefer this option, you may skip this section.
{% endhint %}

***

## Install Pynt CLI

Pynt is deployed as a **Python-based CLI**. To install the Pynt CLI, simply use `pip`:

```bash
python3 -m pip install pyntcli
```

{% hint style="info" %}
📥 **Tip**: Ensure Python 3 is installed before running the above command!
{% endhint %}

***

## Running Pynt for the First Time

On the first time running Pynt CLI you will need to authenticate with Pynt:

<figure><img src="/files/12HthtcDPV2DSS77a1Ri" alt="" width="301"><figcaption><p>First login with Pynt CLI</p></figcaption></figure>

Once authenticated, the CLI will not ask for authentication again. You won’t need to log in again unless your session expires.

***

## Do I Need to Pull the Pynt Docker Image?

No. Pynt will handle anything for you!

{% hint style="info" %}
🛠️ **No manual docker operations are needed!** The Pynt CLI automatically manages all Docker operations, including pulling the latest image and running the container.
{% endhint %}
