<spanclass="line"><spanstyle="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">python</span><spanstyle="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> main.py</span></span></code></pre></div><divclass="tip custom-block github-alert"><pclass="custom-block-title">TIP</p><p>It is recommended to use a virtual environment to run Liteyuki to avoid dependency conflicts. You can use <code>python -m venv .venv</code> to create a virtual environment, and then use <code>.venv\Scripts\activate</code> to activate the virtual environment (use <code>source .venv/bin/activate</code> to activate on Linux).</p></div><h2id="run-with-docker"tabindex="-1"><strong>Run with Docker</strong><aclass="header-anchor"href="#run-with-docker"aria-label="Permalink to "**Run with Docker**""></a></h2><ol><li>Install <ahref="https://docs.docker.com/get-docker/"target="_blank"rel="noreferrer"><code>Docker</code></a></li><li>Clone Repo <code>git clone https://github.com/LiteyukiStudio/LiteyukiBot --depth=1</code></li><li>Change directory <code>cd LiteyukiBot</code></li><li>Build docker image <code>docker build -t liteyukibot .</code></li><li>Run container <code>docker run -p 20216:20216 -v $(pwd):/liteyukibot -v $(pwd)/.cache:/root/.cache liteyukibot</code></li></ol><divclass="tip custom-block github-alert"><pclass="custom-block-title">TIP</p><p>If you are using Windows, please use the absolute project directory <code>/path/to/LiteyukiBot</code> instead of <code>$&#40;pwd&#41;</code><br> If you have modified the port number, please replace <code>20216:20216</code> with your port number</p></div><h2id="use-trss-script"tabindex="-1"><strong>Use TRSS Script</strong><aclass="header-anchor"href="#use-trss-script"aria-label="Permalink to "**Use TRSS Script**""></a></h2><p><ahref="https://timerainstarsky.github.io/TRSS_Liteyuki/"target="_blank"rel="noreferrer">TRSS_Liteyuki Management Script</a>, which provides a more convenient way to manage LiteyukiBot, recommended to use <code>Arch Linux</code></p><h2id="device-requirements"tabindex="-1"><strong>Device Requirements</strong><aclass="header-anchor"href="#device-requirements"aria-label="Permalink to "**Device Requirements**""></a></h2><ul><li>Windows system version minimum <code>Windows10+</code>/<code>Windows Server 2019+</code></li><li>Linux system requires Python3.10+, recommended <code>Ubuntu 20.04+</code></li><li>CPU: at least <code>1vCPU</code></li><li>Memory: Bot without other plugins will occupy <code>300~500MB</code>, including <code>chromium</code> and <code>node</code> processes, other plugins depend on specific plugins, recommended <code>1GB</code> or more</li><li>Disk: at least <code>1GB</code> of space</li></ul><divclass="warning custom-block github-alert"><pclass="custom-block-title">WARNING</p><p>If there are multiple environments on the device, please use <code>path/to/python -m pip install -r requirements.txt</code> to install dependencies, <code>path/to/python</code> is the path to your Python executable</p></div><divclass="warning custom-block github-alert"><pclass="custom-block-title">WARNING</p><p>Liteyuki's update function depends on Git. If you do not have Git installed and run the source code directly, you will not be able to use the update function</p></div><h4id="for-other-questions-please-refer-to-faq"tabindex="-1">For other questions, please refer to <ahref="./fandq.html">FAQ</a><aclass="header-anchor"href="#for-other-questions-please-refer-to-faq"aria-label="Permalink to "For other questions, please refer to [FAQ](./fandq)""></a></h4></div></div></main><footerclass="VPDocFooter"data-v-720a8890data-v-ae614b68><!--[--><!--]--><divclass="edit-info"data-v-ae614b68><divclass="edit-link"data-v-ae614b68><aclass="VPLink link vp-external-link-icon no-icon edit-link-button"href="https://github.com/LiteyukiStudio/LiteyukiBot/tree/main/docs/en/deploy/install.md"target="_blank"rel="noreferrer"data-v-ae614b68><!--[--><spanclass="vpi-square-pen edit-link-icon"data-v-ae614b68></span> E