Requirements
Before installing Qoder CLI CN, make sure your environment meets the following requirements:
- Operating system: macOS, Linux, Windows (Windows Terminal recommended).
- CPU architecture: arm64, amd64.
- Node.js: Node.js >= 20.0.0 is required when installing via npm.
Windows (arm64) is not supported yet.
Install
Qoder CLI CN offers several installation methods. Pick whichever fits your environment and habits.
Using the install script (recommended)
The install script automatically downloads the build matching your system and sets up the executable.
macOS / Linux
Using npm
If you already have Node.js (>= 20.0.0) installed, you can install globally via npm:
Verify the installation
After installation, run the following command. If it prints the CLI version number, the installation succeeded:
PATH. For troubleshooting steps, see Installation and Upgrade Issues.
First run
Run the following command in any project root to enter the default interactive (TUI) mode:
Upgrade
Qoder CLI CN has auto-update enabled by default. You can also manually upgrade to the latest version at any time.
Upgrade with the install script
macOS / Linux
Using the built-in update command
Upgrade via npm
Auto-update settings
Auto-update is enabled by default. To disable it, set general.enableAutoUpdate to false in ~/.qoder-cn/settings.json:
Uninstall
How to uninstall depends on how you installed:
- Installed via npm: run
npm uninstall -g @qodercn-ai/qoderclicn. - Installed via the install script: delete the executable placed by the install script, and remove the corresponding directory from
PATH.
~/.qoder-cn). Before deleting, make sure it contains no sessions, memory, or settings you want to keep.
The config directory location can be customized with theQODERCN_CONFIG_DIRenvironment variable; the default is~/.qoder-cn. If you have set this variable, delete the corresponding directory instead.