Skip to content

Installation

t-linter can be installed in three ways depending on your use case.

Step 1: Install the t-linter binary

Install t-linter as a project dependency (recommended):

pip install t-linter

For better project isolation, add it to your project's requirements:

uv add t-linter
echo "t-linter" >> requirements.txt
pip install -r requirements.txt

Step 2: Install the VSCode extension

Install the extension from the Visual Studio Code Marketplace:

  1. Open VSCode
  2. Go to Extensions (Ctrl+Shift+X / Cmd+Shift+X)
  3. Search for "t-linter"
  4. Click Install on "T-Linter - Python Template Strings Highlighter & Linter" by koxudaxi

Install from VSCode Marketplace

Option 2: PyPI Package Only (CLI tool and LSP server)

For command-line usage or integration with other editors:

pip install t-linter

Or add to your project's dependencies:

uv add t-linter
pip install t-linter
[project]
dependencies = [
    "t-linter",
]

This provides the t-linter command-line tool and LSP server without the VSCode extension.

View on PyPI

Option 3: Build from Source

For development or bleeding-edge features:

git clone https://github.com/koxudaxi/t-linter
cd t-linter
cargo install --path crates/t-linter

Note

Building from source requires the Rust toolchain.