Installation
Install kemlang-py
Get kemlang-py running on your machine in under a minute. Pick the method that suits your workflow.
System requirements
Python3.10 or newer
Node.js14+ (npm method only)
OSmacOS · Linux · Windows
Disk~15 MB installed
Install via npm recommended
The fastest way - works on any machine with Node.js installed. Automatically installs Python dependencies.
bashnpm install -g kemlang-py
Verify it worked:
bashkem version
output
KemLang 0.1.3
Install via pip
If you already have Python 3.10+ and prefer pip:
bashpip install kemlang-py
Verify:
bashkem version
Install from source
For contributors or if you want the latest unreleased changes:
bashgit clone https://github.com/sanketmuchhala/kemlang-py cd kemlang-py pip install -e .
The -e flag installs in editable mode - changes to the source are reflected immediately without reinstalling.
Troubleshooting
“kem: command not found”
- ›npm - Run npm bin -g to find the global bin path and add it to your PATH.
- ›pip - Run python -m site --user-base to find the user base, then add /bin to PATH.
- ›Windows - Restart your terminal - PATH changes take effect on new sessions.
Permission errors on macOS / Linux
bash# npm sudo npm install -g kemlang-py # pip pip install --user kemlang-py
Python version too old
kemlang-py requires Python 3.10+. Check your version:
bashpython3 --version
If you see Python 3.9 or earlier, upgrade via brew install python@3.11 (macOS) or sudo apt install python3.11 (Ubuntu).
Updating
Keep kemlang-py up to date:
bash# npm npm update -g kemlang-py # pip pip install --upgrade kemlang-py
Next upSyntax & Keywords