> ## Documentation Index
> Fetch the complete documentation index at: https://semgrep-ee9d73d8-mintlify-b75b9a88.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Update Semgrep

> Stay up-to-date by running the latest version of Semgrep automatically in CI or your local CLI.

For Docker users, enter the following commands:

```bash theme={null}
docker pull semgrep/semgrep:latest

# confirm your Semgrep installation
docker run --rm semgrep/semgrep semgrep --version
```

You can also use the following commands in either your CLI or CI environment:

```bash theme={null}
# macOS users only, using Homebrew
brew upgrade semgrep

# macOS, Linux, or Windows users using pipx (recommended)
pipx upgrade semgrep

# Or, using uv
uv tool upgrade semgrep

# confirm your Semgrep installation
semgrep --version
```
