Chapter 2. Setup and Build Instructions
Prev | Part I. Wireshark Build Environment | Next

## Chapter 2. Setup and Build Instructions

## 2.1. Automatic development setup (tools/setup-dev)

If you want a guided setup for dependencies and git hooks, run the helper scripts in the source tree root:

- Linux: `tools/setup-dev.sh` configures the commit template and hooks, then offers to run the distro-specific install script (Debian-based by default; Alpine, Arch, and RPM-based distros are auto-detected when possible).
- macOS: `tools/setup-dev.sh` configures hooks and asks whether to run the Homebrew setup (`tools/macos-setup-brew.sh`, default) or the non-Homebrew script (`tools/macos-setup.sh`).
- Windows / MSYS2 / MinGW: use `tools/setup-dev.ps1` (PowerShell) to configure hooks; follow Section 2.3, “Windows” for platform setup details.

Prev | Up | Next
1.7. Reporting problems and getting help | Home | 2.2. UN*X