Skip to the content.

Client Installation Guide

Complete installation guide for the Port Scanner Client Agent.

Table of contents

  1. Prerequisites
    1. Required Software
    2. System Requirements
    3. Operating Systems
  2. Install Nmap
    1. Ubuntu/Debian
    2. macOS
    3. Verify Installation
  3. Quick Start
  4. Detailed Installation
    1. Step 1: Create Virtual Environment
    2. Step 2: Install the Client Package
      1. Option A: Install from Source (Development)
      2. Option B: Install with Development Dependencies
      3. Option C: Regular Installation
    3. Step 3: Verify Installation

Prerequisites

Before installing the client agent, ensure your system meets these requirements:

Required Software

System Requirements

Component Minimum Recommended
RAM 512MB 1GB+
Disk Space 1GB 2GB+
Network Basic connectivity Stable connection to server

Operating Systems

Tested and supported on:


Install Nmap

The client requires nmap to be installed on your system.

Ubuntu/Debian

sudo apt-get update
sudo apt-get install nmap

macOS

brew install nmap

Verify Installation

nmap --version

You should see output like:

Nmap version 7.80 ( https://nmap.org )

Quick Start

The fastest way to get started:

# 1. Install the package
pip install .

# 2. Run the configuration wizard
portscanner-client-config

# 3. Start the client
portscanner-client

Detailed Installation

Step 1: Create Virtual Environment

It’s recommended to use a virtual environment to isolate dependencies:

# Create virtual environment
python3 -m venv venv

# Activate virtual environment
source venv/bin/activate  # On Linux/macOS
# or
venv\Scripts\activate     # On Windows

Step 2: Install the Client Package

Option A: Install from Source (Development)

pip install -e .

This creates an editable installation, useful for development.

Option B: Install with Development Dependencies

pip install -e ".[dev]"

Includes testing and development tools.

Option C: Regular Installation

pip install .

Standard installation for production use.

Step 3: Verify Installation

Check that the commands are available:

portscanner-client --help
portscanner-client-config --help