Skip to content

Installation

MoneyLisa edited this page Nov 25, 2026 · 6 revisions

Installation

🇫🇷 Version française : Installation (FR)

macOS (Apple Silicon) — recommended

  1. Download Wiretap-macos-arm64.zip / .dmg from the releases page — or brew install --cask aixisstudio/tap/wiretap (auto-removes quarantine).
  2. Unzip and drag Wiretap.app to /Applications.
  3. The build is unsigned (no Apple Developer certificate). macOS will block it on first open:
    • Right-click the app → Open → confirm Open in the dialog, or
    • System Settings → Privacy & Security → Open Anyway.
  4. Live packet capture needs elevated privileges — the app asks for your password (sudo) once when capture starts. This is inherent to libpcap/BPF, same as Wireshark or Little Snitch.

Just want a look? Wiretap has a demo mode (WIRETAP_DEMO=1) with synthetic traffic — no root required. See Usage Guide.

Linux — packages or Docker

Native packages (from the latest release): Wiretap-x86_64.AppImage (portable GUI), wiretap-linux-amd64.deb and wiretap-linux-amd64.snap. The release pipeline also builds an .rpm (wiretap-linux-amd64.rpm) on every tag. Headless servers can instead use the Homebrew formula: brew install aixisstudio/tap/wiretap → wiretapd daemon binary.

Docker — capture works via network_mode: host, so the container sees real host traffic.

git clone https://github.com/aixisstudio/Wiretap.git wiretap
cd wiretap
sudo docker compose up --build

Then get the API token (printed once in the backend logs, or cat data/api_token.txt) and open http://localhost:8000/?token=TOKEN in your browser.

Background mode: sudo docker compose up -d --build

Docker limitations

  • Process attribution is limited to container processes (host PIDs are not shared by default).
  • The LAN scanner may be unavailable on some network configurations.
  • ⚠️ Docker Desktop on macOS/Windows runs inside a VM and cannot capture host traffic — use the native app on those platforms.

Windows — supported since v1.0.5

winget: a submission for v1.0.8 is under review by Microsoft; the release pipeline now auto-submits the newest NSIS build on each tag — once merged: winget install aiXisStudio.Wiretap.

One-click installers (from v1.0.6): CI builds two .exe installers on every tag — Wiretap Setup (Electron NSIS: native window, tray, built-in Npcap check, UAC prompt at launch) and Wiretap-Lite-Setup (Inno Setup: backend only, UI opens in the browser). Both install to Program Files and need Npcap for live capture — the installer detects it and points to the official download page (Npcap is never bundled: its free license forbids redistribution).

Prebuilt backend (manual): download wiretap-backend-windows-latest.tar.gz from the latest release, extract it, install Npcap, then run wiretap-backend.exe as Administrator — it prints the API token once. Open http://127.0.0.1:8000/?token=TOKEN in your browser, or pair it with the Electron app.

The packaged app now boots and captures correctly on Windows: console=False startup crash fixed, and the capture picks the interface carrying the default route (no more vEthernet (WSL) showing 0 external hosts).

Build from source — Requirements: Python 3.11+, Node.js 18+, Npcap installed, and an Administrator terminal (raw packet capture needs it).

# Backend — API at http://127.0.0.1:8000
cd backend
pip install -r requirements.txt
python run_backend.py   # prints the API token once

# Frontend (separate terminal) — UI at http://localhost:5173/?token=TOKEN
cd frontend
npm install
npm run dev

# Electron (optional, admin terminal) — token injected automatically
cd electron
npm install
set VITE_DEV=1
npx electron .

Build the macOS installer yourself

# 1 — Compile the backend (PyInstaller)
cd backend
pip install pyinstaller
pyinstaller backend.spec --distpath ../dist/backend

# 2 — Build the frontend
cd frontend
npm run build

# 3 — Build the Electron app
cd electron
npm run build:dir

Output: dist/installer/mac-arm64/Wiretap.app.

Headless server / fleet agent

Wiretap also runs with no GUI — hardened systemd unit, nfpm .deb/.rpm, Docker image, Helm chart (deploy/helm/wiretap), and a zero-dependency Rust agent (agent/) that streams socket events to a central collector. Enrollment, tokens and the wiretap-agent/1 wire contract: see Fleet & Agent. Declarative config: one wiretap.toml — provisioned at scale via Ansible (deploy/ansible/), Puppet, Salt or GPO.

Where your data lives

Path Contents
~/Library/Application Support/Wiretap/ (macOS) or data/ SQLite DB (wiretap.db), logs, api_token.txt, extracted GeoIP DBs

Everything stays on your machine — see Security & Privacy.

Wiretap Wiki

Getting started / Démarrage

  • Installation — EN · FR
  • Usage / Utilisation — EN · FR

Docs (EN + FR)

Help / Aide (EN + FR)

Project / Projet

Clone this wiki locally