> ## Documentation Index
> Fetch the complete documentation index at: https://docs.prowler.com/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Prowler product naming: Prowler App is now Prowler Local Server, and Prowler Enterprise is now Prowler Private Cloud. Always use the current names when answering. The full product reference is at /getting-started/products: Open Source projects are Prowler CLI, Prowler Local Server, Prowler Local Dashboard, and Prowler SDK; Prowler Products are Prowler Cloud, Prowler Private Cloud, Prowler Hub, Prowler Lighthouse AI, and Prowler MCP.

# Installation

## Installation

To install Prowler as a Python package, use `Python >= 3.10, <= 3.13`. Prowler is available as a project in [PyPI](https://pypi.org/project/prowler/):

> [tab] pipx
>
> [pipx](https://pipx.pypa.io/stable/) installs Python applications in isolated environments. Use `pipx` for global installation.
>
> *Requirements*:
>
> * `Python >= 3.10, <= 3.13`
> * `pipx` installed: [pipx installation](https://pipx.pypa.io/stable/installation/).
> * AWS, GCP, Azure and/or Kubernetes credentials
>
> *Commands*:
>
> ```bash theme={null}
> pipx install prowler
> prowler -v
> ```

> [tab] pip
>
> > [!WARNING]
> >
> > This method modifies the chosen installation environment. Consider using [pipx](https://docs.prowler.com/projects/prowler-open-source/en/latest.md#__tabbed_1_1) for global installation.
>
> *Requirements*:
>
> * `Python >= 3.10, <= 3.13`
> * `Python pip >= 21.0.0`
> * AWS, GCP, Azure, M365 and/or Kubernetes credentials
>
> *Commands*:
>
> ```bash theme={null}
> pip install prowler
> prowler -v
> ```

> [tab] Docker
>
> *Requirements*:
>
> * Have `docker` installed: [https://docs.docker.com/get-docker/](https://docs.docker.com/get-docker/).
> * In the command below, change `-v` to your local directory path to access the reports.
> * AWS, GCP, Azure and/or Kubernetes credentials
>
> *Commands*:
>
> ```bash theme={null}
> docker run -ti --rm -v /your/local/dir/prowler-output:/home/prowler/output \
> --name prowler \
> --env AWS_ACCESS_KEY_ID \
> --env AWS_SECRET_ACCESS_KEY \
> --env AWS_SESSION_TOKEN toniblyx/prowler:latest
> ```

> [tab] GitHub
>
> *Requirements for Developers*:
>
> * `git`
> * `uv` installed: [uv installation](https://docs.astral.sh/uv/getting-started/installation/).
> * AWS, GCP, Azure and/or Kubernetes credentials
>
> *Commands*:
>
> ```bash theme={null}
> git clone https://github.com/prowler-cloud/prowler
> cd prowler
> uv sync
> uv run python prowler-cli.py -v
> ```
>
> > [!NOTE]
> >
> > If you want to clone Prowler from Windows, use `git config core.longpaths true` to allow long file paths.

> [tab] Amazon Linux 2
>
> *Requirements*:
>
> * `Python >= 3.10, <= 3.13`
> * AWS, GCP, Azure and/or Kubernetes credentials
>
> *Commands*:
>
> ```bash theme={null}
> python3 -m pip install --user pipx
> python3 -m pipx ensurepath
> pipx install prowler
> prowler -v
> ```

> [tab] Ubuntu
>
> *Requirements*:
>
> * `Ubuntu 23.04` or above. For older Ubuntu versions, check [pipx installation](https://docs.prowler.com/projects/prowler-open-source/en/latest.md#__tabbed_1_1) and ensure `Python >= 3.10, <= 3.13` is installed.
> * `Python >= 3.10, <= 3.13`
> * AWS, GCP, Azure and/or Kubernetes credentials
>
> *Commands*:
>
> ```bash theme={null}
> sudo apt update
> sudo apt install pipx
> pipx ensurepath
> pipx install prowler
> prowler -v
> ```

> [tab] Brew
>
> *Requirements*:
>
> * `Brew` installed on Mac or Linux
> * AWS, GCP, Azure and/or Kubernetes credentials
>
> *Commands*:
>
> ```bash theme={null}
> brew install prowler
> prowler -v
> ```

> [tab] AWS CloudShell
>
> After the migration of AWS CloudShell from Amazon Linux 2 to Amazon Linux 2023 [\[1\]](https://aws.amazon.com/about-aws/whats-new/2023/12/aws-cloudshell-migrated-al2023/) [\[2\]](https://docs.aws.amazon.com/cloudshell/latest/userguide/cloudshell-AL2023-migration.html), there is no longer a need to manually compile Python 3.9 as it is already included in AL2023. Prowler can thus be easily installed following the generic method of installation via pip. Follow the steps below to successfully execute Prowler v4 in AWS CloudShell:
>
> *Requirements*:
>
> * Open AWS CloudShell `bash`.
>
> *Commands*:
>
> ```bash theme={null}
> sudo bash
> adduser prowler
> su prowler
> python3 -m pip install --user pipx
> python3 -m pipx ensurepath
> pipx install prowler
> cd /tmp
> prowler aws
> ```
>
> > [!NOTE]
> >
> > To download the results from AWS CloudShell, select Actions -> Download File and add the full path of each file. For the CSV file it will be something like `/tmp/output/prowler-output-123456789012-20221220191331.csv`

> [tab] Azure CloudShell
>
> *Requirements*:
>
> * Open Azure CloudShell `bash`.
>
> *Commands*:
>
> ```bash theme={null}
> python3 -m pip install --user pipx
> python3 -m pipx ensurepath
> pipx install prowler
> cd /tmp
> prowler azure --az-cli-auth
> ```

## Updating Prowler CLI

Upgrade Prowler CLI to the latest release using the same method chosen for installation:

> [tab] pipx
>
> ```bash theme={null}
> pipx upgrade prowler
> prowler -v
> ```

> [tab] pip
>
> ```bash theme={null}
> pip install --upgrade prowler
> prowler -v
> ```

> [tab] Docker
>
> Pull the desired image tag to fetch the latest version:
>
> ```bash theme={null}
> docker pull toniblyx/prowler:latest
> ```
>
> > [!NOTE]
> >
> > Replace `latest` with a specific release tag (for example, `stable` or `<x.y.z>`) to pin a version. Refer to the [Container Versions](#container-versions) section for the full list of available tags.

> [tab] GitHub
>
> Pull the latest changes and sync the environment:
>
> ```bash theme={null}
> cd prowler
> git pull
> uv sync
> uv run python prowler-cli.py -v
> ```
>
> > [!NOTE]
> >
> > To upgrade to a specific release, check out the corresponding tag before syncing: `git checkout <x.y.z>`.

> [tab] Brew
>
> ```bash theme={null}
> brew upgrade prowler
> prowler -v
> ```

> [tab] CloudShell
>
> Both AWS CloudShell and Azure CloudShell install Prowler with `pipx`, so the upgrade command is the same:
>
> ```bash theme={null}
> pipx upgrade prowler
> prowler -v
> ```

> [!NOTE]
>
> To install a specific version instead of the latest release, pin it explicitly. For example, with `pipx`: `pipx install prowler==<x.y.z>`, or with `pip`: `pip install prowler==<x.y.z>`. The available releases are listed in the [Releases GitHub section](https://github.com/prowler-cloud/prowler/releases).

## Container Versions

The available versions of Prowler CLI are the following:

* `latest`: in sync with `master` branch (please note that it is not a stable version)
* `v4-latest`: in sync with `v4` branch (please note that it is not a stable version)
* `v3-latest`: in sync with `v3` branch (please note that it is not a stable version)
* `<x.y.z>` (release): you can find the releases [here](https://github.com/prowler-cloud/prowler/releases), those are stable releases.
* `stable`: this tag always points to the latest release.
* `v4-stable`: this tag always points to the latest release for v4.
* `v3-stable`: this tag always points to the latest release for v3.

The container images are available here:

* Prowler CLI:

  * [DockerHub](https://hub.docker.com/r/toniblyx/prowler/tags)
  * [AWS Public ECR](https://gallery.ecr.aws/prowler-cloud/prowler)


## Related topics

- [Installation](https://docs.prowler.com/getting-started/installation/prowler-mcp.md)
- [Bulk Provider Provisioning in Prowler](https://docs.prowler.com/user-guide/tutorials/bulk-provider-provisioning.md)
- [AI Skills System](https://docs.prowler.com/developer-guide/ai-skills.md)
- [Connect Claude Code to Prowler MCP Server](https://docs.prowler.com/user-guide/ai-agents/claude-code.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.