Skip to main content

Installation

Homebrew (macOS / Linux)

brew tap tanguc/tap
brew install monphare

Pre-built binaries

Download the latest release for your platform from GitHub Releases.

PlatformTarget
Linux x86_64x86_64-unknown-linux-gnu
Linux ARM64aarch64-unknown-linux-gnu
macOS Intelx86_64-apple-darwin
macOS Apple Siliconaarch64-apple-darwin
Windows x86_64x86_64-pc-windows-msvc

Quick install (Linux / macOS)

curl -sL https://github.com/tanguc/monphare/releases/latest/download/monphare-$(uname -m)-$(uname -s | tr '[:upper:]' '[:lower:]').tar.gz | tar xz
sudo mv monphare /usr/local/bin/

Docker

Multi-arch images (linux/amd64, linux/arm64) are published to GitHub Container Registry on every release.

docker pull ghcr.io/tanguc/monphare:latest

Run against a local directory by mounting it into the container:

docker run --rm -v "$(pwd):/workspace" ghcr.io/tanguc/monphare scan /workspace

Or scan a remote repository directly:

docker run --rm ghcr.io/tanguc/monphare scan https://github.com/terraform-aws-modules/terraform-aws-vpc

Pin to a specific version:

docker pull ghcr.io/tanguc/monphare:0.3.0

From source

Requires Rust 1.85 or later.

git clone https://github.com/tanguc/monphare.git
cd monphare
cargo install --path .

Verify the installation:

monphare --version