Skip to content

Installation

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

Install t-linter for CLI usage and LSP server integration:

pip install t-linter

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

uv add t-linter
echo "t-linter" >> requirements.txt
pip install -r requirements.txt
[project]
dependencies = [
    "t-linter",
]

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

View on PyPI

Option 2: VSCode Extension

If you use VSCode, install the extension for seamless editor integration:

The extension bundles t-linter binaries for Linux x64, macOS x64/arm64, and Windows x64, so those platforms do not need a separate CLI installation.

Step 1: 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

Optional: Use a custom t-linter binary

If you want to override the bundled binary, or if you are on an unsupported platform, install t-linter separately and set t-linter.serverPath:

  • uv: uv add t-linter
  • pip: pip install t-linter

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.