Getting Started¶
tcl-ls can be used in three ways:
as an editor language server
as a batch checker through
tcl-checkas a metadata helper toolkit through
tcl-meta
Prerequisites¶
Python 3.14 or newer
uvfor local development and repeatable tool executiontclshif you want to runtcl-metaan editor with LSP support if you want interactive language-server features
Install From PyPI¶
For normal usage, install tcl-ls from PyPI:
python -m pip install tcl-ls
This installs three CLI entry points:
tcl-lsfor the language servertcl-checkfor batch diagnosticstcl-metafor metadata-helper workflows
Install From GitHub Releases¶
If you want prebuilt packaged assets instead of a Python installation, download them from the GitHub Releases page.
Release assets currently include:
packaged frozen server archives for Linux, macOS, and Windows
bundled VS Code extension packages
Install From A Checkout¶
For repository development, sync the environment once and then prefer
uv run ... for commands:
uv sync
If you want plain entry points on your PATH, install the package instead:
python -m pip install .
First Commands To Try¶
Check a project tree from the terminal:
tcl-check path/to/project
Start the language server on stdio for an editor to manage:
tcl-ls
Print the bundled metadata helper path:
tcl-meta helper-path
When working from a checkout instead of an installed package, prefix those
commands with uv run.
The repository also includes editor-specific setup under editors/:
Local Documentation Build¶
Build the Sphinx site with:
make docs
The generated HTML lives under docs/_build/html.
Where To Go Next¶
Read the User Guide for editor, checker, and configuration workflows.
Read Metadata And Meta Tools if you need custom command metadata or Tcl-side helper integration.
Read Reference for the current CLI and LSP surface area.