Installation
KiLM requires Python 3.7 or newer and KiCad 6.x or newer (must be run at least once).
Dependencies
KiLM relies on the following Python packages:
click >= 8.0
pyyaml >= 6.0
pathlib >= 1.0.1
pathspec >= 0.12.1
jinja2 >= 3.1.6
These dependencies are automatically installed when you install KiLM using pip
or pipx
.
Installation Methods
You can install KiLM using several methods:
From PyPI (Standard Method)
The most common way to install Python packages:
pip install kilm
Using pipx (Recommended)
pipx
installs CLI tools in isolated environments, making them available globally without interfering with other Python projects. This is the recommended method for installing KiLM.
# Install pipx if you don't have itpython -m pip install --user pipxpython -m pipx ensurepath
# Install kilm using pipxpipx install kilm
Using uv (Faster Installer)
uv
is an extremely fast Python package installer and resolver from the creators of Ruff.
# Install uv if you don't have it (example for Linux/macOS)curl -sSf https://astral.sh/uv/install.sh | sh
# Install kilm using uvuv pip install kilm
From Source (Development)
If you want to contribute to KiLM or use the latest development version:
# Clone the repositorygit clone https://github.com/barisgit/kilm.gitcd kilm
# Install in editable modepip install -e .
After installation, you should be able to run kilm --version
to verify it’s installed correctly.