diff --git a/docs/getting-started/installation/prowler-cli.mdx b/docs/getting-started/installation/prowler-cli.mdx index 2c79eda37c..f87653dcfe 100644 --- a/docs/getting-started/installation/prowler-cli.mdx +++ b/docs/getting-started/installation/prowler-cli.mdx @@ -40,12 +40,6 @@ To install Prowler as a Python package, use `Python >= 3.10, <= 3.12`. Prowler i pip install prowler prowler -v ``` - - To upgrade Prowler to the latest version: - - ``` bash - pip install --upgrade prowler - ``` _Requirements_: @@ -170,6 +164,68 @@ To install Prowler as a Python package, use `Python >= 3.10, <= 3.12`. Prowler i +## Updating Prowler CLI + +Upgrade Prowler CLI to the latest release using the same method chosen for installation: + + + + ```bash + pipx upgrade prowler + prowler -v + ``` + + + ```bash + pip install --upgrade prowler + prowler -v + ``` + + + Pull the desired image tag to fetch the latest version: + + ```bash + docker pull toniblyx/prowler:latest + ``` + + + Replace `latest` with a specific release tag (for example, `stable` or ``) to pin a version. Refer to the [Container Versions](#container-versions) section for the full list of available tags. + + + + Pull the latest changes and sync the environment: + + ```bash + cd prowler + git pull + uv sync + uv run python prowler-cli.py -v + ``` + + + To upgrade to a specific release, check out the corresponding tag before syncing: `git checkout `. + + + + ```bash + brew upgrade prowler + prowler -v + ``` + + + Both AWS CloudShell and Azure CloudShell install Prowler with `pipx`, so the upgrade command is the same: + + ```bash + pipx upgrade prowler + prowler -v + ``` + + + + + To install a specific version instead of the latest release, pin it explicitly. For example, with `pipx`: `pipx install prowler==`, or with `pip`: `pip install prowler==`. 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: diff --git a/docs/getting-started/installation/prowler-mcp.mdx b/docs/getting-started/installation/prowler-mcp.mdx index 7bf766e143..06f204da6a 100644 --- a/docs/getting-started/installation/prowler-mcp.mdx +++ b/docs/getting-started/installation/prowler-mcp.mdx @@ -141,6 +141,45 @@ Choose one of the following installation methods: --- +## Updating Prowler MCP Server + +When running Prowler MCP Server locally ("Option 2: Run Locally"), upgrade to the latest version using the same method chosen for installation. The hosted server (`https://mcp.prowler.com/mcp`) is always kept up to date by Prowler and requires no action. + + + + Pull the latest image and restart the container: + + ```bash + docker pull prowlercloud/prowler-mcp + ``` + + + Recreate any running container after pulling the new image so the updated version takes effect. + + + + Pull the latest changes and sync the dependencies: + + ```bash + cd prowler/mcp_server + git pull + uv sync + uv run prowler-mcp --help + ``` + + + Pull the latest source and rebuild the image: + + ```bash + cd prowler/mcp_server + git pull + docker build -t prowler-mcp . + ``` + + + +--- + ## Command Line Options The Prowler MCP Server supports the following command-line arguments: