Chainlit requires python>=3.8.

You can install Chainlit it via pip as follows:

pip install chainlit

This will make the chainlit command available on your system.

Make sure everything runs smoothly:

chainlit hello

This should spawn the chainlit UI and ask for your name like so: Hello

Next steps

In Pure Python

Learn on how to use Chainlit with any python code.


Integrate Chainlit with other frameworks.