Installation
Installation
Section titled “Installation”Prerequisites
Section titled “Prerequisites”| Dependency | Requirement |
|---|---|
| OS | Linux / macOS / Windows / WSL |
| Node.js | >= 24.0.0 (for source install) |
| Git | Recommended |
Option 1: Portable Package (Recommended)
Section titled “Option 1: Portable Package (Recommended)”Download the portable package for your platform from GitHub Releases and extract.
| Platform | File |
|---|---|
| Linux x64 | lingxiao-vLINGXIAO_VERSION-linux-x64.tar.gz |
| Linux arm64 | lingxiao-vLINGXIAO_VERSION-linux-arm64.tar.gz |
| macOS arm64 | lingxiao-vLINGXIAO_VERSION-darwin-arm64.tar.gz |
| Windows x64 | lingxiao-vLINGXIAO_VERSION-win-x64.zip |
Linux / macOS:
tar xzf lingxiao-vLINGXIAO_VERSION-linux-x64.tar.gzcd lingxiao./lingxiaoWindows:
Extract the zip, then double-click lingxiao.exe or run in PowerShell:
.\lingxiao.exeOption 2: Windows Desktop
Section titled “Option 2: Windows Desktop”Download the Windows installer from Releases:
- NSIS installer (
LingXiao-Setup-LINGXIAO_VERSION.exe): Recommended, supports auto-update - MSI installer (
LingXiao.LINGXIAO_VERSION.msi): Suitable for enterprise deployment
Launch “LingXiao” from the Start Menu after installation. Future updates are detected and downloaded automatically.
Option 3: From Source
Section titled “Option 3: From Source”Linux / macOS
Section titled “Linux / macOS”git clone https://github.com/hexian2001/lingxiao-coding.gitcd lingxiao-codingnpm installnpm run buildnpm linkWindows (PowerShell)
Section titled “Windows (PowerShell)”git clone https://github.com/hexian2001/lingxiao-coding.gitcd lingxiao-codingnpm installnpm run buildnpm linkWindows (WSL)
Section titled “Windows (WSL)”git clone https://github.com/hexian2001/lingxiao-coding.gitcd lingxiao-codingnpm installnpm run buildnpm linkThen run:
lingxiaoThe first run guides you through model and API key configuration. Config is stored at ~/.lingxiao/settings.json.
npm linkregisters thelingxiaocommand globally, available from any directory.
Verify Installation
Section titled “Verify Installation”lingxiao --versionUpgrade
Section titled “Upgrade”Portable / Source Install
Section titled “Portable / Source Install”lingxiao upgradelingxiao upgrade auto-detects the install type (source or portable), locates the install path, downloads the latest version, and completes the update.
Windows Desktop
Section titled “Windows Desktop”The desktop app checks for updates automatically on launch and downloads incrementally. You can also check manually.
Manual Upgrade (Source — All Platforms)
Section titled “Manual Upgrade (Source — All Platforms)”Linux / macOS
Section titled “Linux / macOS”cd lingxiao-codinggit pullnpm installnpm run buildWindows (PowerShell)
Section titled “Windows (PowerShell)”cd lingxiao-codinggit pullnpm installnpm run buildWindows (WSL)
Section titled “Windows (WSL)”cd lingxiao-codinggit pullnpm installnpm run buildDevelopment from Source
Section titled “Development from Source”git clone https://github.com/hexian2001/lingxiao-coding.gitcd lingxiao-codingnpm installnpm run buildnpm run cliWeb frontend development:
cd webnpm installnpm run devnpm run buildVite dev proxy example:
LINGXIAO_WEB_PORT=8787 npm run clicd webLINGXIAO_WEB_PROXY_TARGET=http://127.0.0.1:8787 npm run devTesting
Section titled “Testing”npx tsc -p tsconfig.cli.json --noEmitnpx tsc -p web/tsconfig.json --noEmitnpm run test:architecturenpm run buildnpm testLicense
Section titled “License”This project uses AGPL v3 + Commercial Dual License. See LICENSE.
Next Steps
Section titled “Next Steps”- Connect Models — Configure LLM providers
- First Run — Start your first expert team