Skip to content

lingc-cli (lc)

lingc-cli is an operations convenience command-line tool for Lingchu Bot. It is published as an independent PyPI package (command lc) with its own version line, and is not bundled into the bot runtime. It helps you operate and maintain a deployed bot from the terminal: check the environment, start it safely, manage dependencies, run database migrations, and repair issues.

Install it as a standalone tool:

Terminal window
uv tool install lingc-cli
# or
pipx install lingc-cli
Terminal window
lc --version
lc doctor # diagnose the environment
lc run # start the bot safely
lc db upgrade # apply database migrations

lingc-cli has its own release cycle and is not distributed with the nonebot-plugin-lingchu-bot package. See the commands reference for the full lc command surface.