Skip to content

Installation

DependencyRequirement
OSLinux / macOS / Windows / WSL
Node.js>= 24.0.0 (for source install)
GitRecommended

Download the portable package for your platform from GitHub Releases and extract.

PlatformFile
Linux x64lingxiao-vLINGXIAO_VERSION-linux-x64.tar.gz
Linux arm64lingxiao-vLINGXIAO_VERSION-linux-arm64.tar.gz
macOS arm64lingxiao-vLINGXIAO_VERSION-darwin-arm64.tar.gz
Windows x64lingxiao-vLINGXIAO_VERSION-win-x64.zip

Linux / macOS:

Terminal window
tar xzf lingxiao-vLINGXIAO_VERSION-linux-x64.tar.gz
cd lingxiao
./lingxiao

Windows:

Extract the zip, then double-click lingxiao.exe or run in PowerShell:

Terminal window
.\lingxiao.exe

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.

Terminal window
git clone https://github.com/hexian2001/lingxiao-coding.git
cd lingxiao-coding
npm install
npm run build
npm link
Terminal window
git clone https://github.com/hexian2001/lingxiao-coding.git
cd lingxiao-coding
npm install
npm run build
npm link
Terminal window
git clone https://github.com/hexian2001/lingxiao-coding.git
cd lingxiao-coding
npm install
npm run build
npm link

Then run:

Terminal window
lingxiao

The first run guides you through model and API key configuration. Config is stored at ~/.lingxiao/settings.json.

npm link registers the lingxiao command globally, available from any directory.

Terminal window
lingxiao --version
Terminal window
lingxiao upgrade

lingxiao upgrade auto-detects the install type (source or portable), locates the install path, downloads the latest version, and completes the update.

The desktop app checks for updates automatically on launch and downloads incrementally. You can also check manually.

Terminal window
cd lingxiao-coding
git pull
npm install
npm run build
Terminal window
cd lingxiao-coding
git pull
npm install
npm run build
Terminal window
cd lingxiao-coding
git pull
npm install
npm run build
Terminal window
git clone https://github.com/hexian2001/lingxiao-coding.git
cd lingxiao-coding
npm install
npm run build
npm run cli

Web frontend development:

Terminal window
cd web
npm install
npm run dev
npm run build

Vite dev proxy example:

Terminal window
LINGXIAO_WEB_PORT=8787 npm run cli
cd web
LINGXIAO_WEB_PROXY_TARGET=http://127.0.0.1:8787 npm run dev
Terminal window
npx tsc -p tsconfig.cli.json --noEmit
npx tsc -p web/tsconfig.json --noEmit
npm run test:architecture
npm run build
npm test

This project uses AGPL v3 + Commercial Dual License. See LICENSE.