# 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="https://3462681674-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZKwBF6q0tAGXlIih38HL%2Fuploads%2Fxs3IVpaG0SRvibLltEbG%2Fimage.png?alt=media&#x26;token=2680bbac-b01f-4d51-a411-c09313d921ad" 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 %}
