Installation

PragyaLint requires Python 3.11 or newer and has zero runtime dependencies.

From PyPI

pip install pragyalint

With pipx (recommended for CLI use)

pipx install pragyalint

pipx installs PragyaLint in an isolated environment so it never interferes with your project's dependencies.

Visual Studio Code extension

Install PragyaLint for Visual Studio Code to surface dead-code findings right in the editor and apply fixes from the Problems panel.

code --install-extension IndianCoder3.sks-pragyalint

Or open the Extensions panel (Ctrl+Shift+X) and search for PragyaLint. Or browser to:

marketplace.visualstudio.com/…IndianCoder3.sks-pragyalint

The extension still needs the pragyalint CLI on your PATH (install via PyPI or pipx above). If it can't find the binary, set the pragyalint.binaryPath setting to its full path.

From source

git clone https://github.com/Sanskriti-Studios/PragyaLint
cd pragyalint
python -m venv .venv
source .venv/bin/activate               # Linux/macOS
.venv\Scripts\activate                  # Windows (cmd)
.venv\Scripts\Activate.ps1              # Windows (PowerShell)
pip install -e ".[dev]"

Verify the install

pragyalint --version
pragyalint --help

You should see the version number and the list of commands/options.

Upgrading

pip install --upgrade pragyalint

Uninstalling

pip uninstall pragyalint
Tip: install PragyaLint as a development dependency in your project (e.g. pip install -U pragyalint in your dev environment or CI) so it's available for scan and fix steps.