# 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 %}


---

# 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.pynt.io/documentation/api-security-testing/how-to-install-pynt-cli.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.
