Installation¶
t-linter can be installed in three ways depending on your use case.
Option 1: PyPI Package (Recommended)¶
Install t-linter for CLI usage and LSP server integration:
For better project isolation, add it to your project's dependencies:
This provides the t-linter command-line tool and LSP server.
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:
- Open VSCode
- Go to Extensions (Ctrl+Shift+X / Cmd+Shift+X)
- Search for "t-linter"
- 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-linterpip:pip install t-linter
Option 3: Build from Source¶
For development or bleeding-edge features:
Note
Building from source requires the Rust toolchain.