sxq. You can edit the project in your preferred IDE or with an AI coding agent, push changes back, build a preview, and deploy to production.
The CLI shares its name with superun’s in-product AI assistant, Suxiaoqiang, but they are different things. The assistant provides guidance in superun; the
sxq command manages a project from your terminal.Before you start
You need:- Node.js 18 or later;
- access to the superun project you want to link;
- the project’s
sessionId, shown in its superun project URL.
Install and log in
sxq login opens a browser to authorize the CLI. You can also use an existing token:
Link and pull a project
Create an empty directory, link it to the remote project, and pull its files:Edit and push changes
After editing locally, push the changes back to superun:sxq push pulls remote changes first. If a file cannot be merged cleanly, the command stops and writes Git-style <<<<<<<, =======, and >>>>>>> conflict markers into the file.
Resolve every conflict, remove the markers, test the result, and run sxq push again. Files matched by the project’s .gitignore, plus built-in entries such as node_modules, dist, and .git, are not synchronized.
Preview and deploy
Trigger a debug build and wait for its preview URL:Apply database migrations
Create migration files undersupabase/migrations/ using this format:
sxq push; the CLI blocks them.
Command reference
For CI or an AI agent, use
-y on commands that would otherwise ask for confirmation. In a non-interactive environment, the CLI fails with guidance instead of waiting indefinitely.
Suxiaoqiang CLI on npm
View the published package and current version.
Source code
Read the complete reference or report an issue.

