Usage Guide

pdtm offers a variety of flags to manage the lifecycle of your tools.

General Syntax

pdtm [flags]

Installation Flags

  • Install specific tools:

    pdtm -install nuclei,httpx
    # Short form
    pdtm -i nuclei,httpx

  • Install ALL tools:

    pdtm -install-all
    # Short form
    pdtm -ia

  • Configure Path: Append the tool installation path to your $PATH environment variable.

    pdtm -install-path
    # Short form
    pdtm -ip

  • Configure Go Path: Append GOBIN or GOPATH to your $PATH environment variable.

    pdtm -install-go-path
    # Short form
    pdtm -igp

Update Flags

  • Update specific tools:

    pdtm -update nuclei
    # Short form
    pdtm -u nuclei

  • Update ALL tools:

    pdtm -update-all
    # Short form
    pdtm -ua

  • Self-Update: Update the pdtm binary itself to the latest version.

    pdtm -self-update
    # Short form
    pdtm -up

  • Disable Update Check: Prevent pdtm from checking for its own updates during execution.

    pdtm -disable-update-check
    # Short form
    pdtm -duc

Removal Flags

  • Remove specific tools:

    pdtm -remove naabu
    # Short form
    pdtm -r naabu

  • Remove ALL tools:

    pdtm -remove-all
    # Short form
    pdtm -ra

  • Remove Path: Remove the installation path from your $PATH environment variable.

    pdtm -remove-path
    # Short form
    pdtm -rp

Configuration & Debugging

  • Show Path: Print the current binary download location and exit.

    pdtm -show-path
    # Short form
    pdtm -sp

  • Custom Binary Path: Download project binaries to a specific location (Default: $HOME/.pdtm/go/bin).

    pdtm -binary-path /usr/local/bin
    # Short form
    pdtm -bp /usr/local/bin

  • Custom Config File: Specify a custom configuration file (Default: $HOME/.config/pdtm/config.yaml).

    pdtm -config my-config.yaml

  • Verbose Mode: Show detailed output.

    pdtm -verbose
    # Short form
    pdtm -v

  • No Color: Disable ANSI color output.

    pdtm -no-color
    # Short form
    pdtm -nc

  • Disable Changelog: Don't show release changelogs when updating.

    pdtm -disable-changelog
    # Short form
    pdtm -dc