Requirements
Before installing Qoder CLI, ensure your environment meets the following requirements:
- Operating System: macOS, Linux, Windows (Windows Terminal is recommended).
- CPU Architecture: arm64, amd64.
- Node.js: Node.js >= 20.0.0 is required when installing via npm.
Windows (arm64) is not currently supported.
Installation
Qoder CLI offers multiple installation methods. Choose the one that best fits your environment and preferences.
Using the Installation Script (Recommended)
The installation script automatically downloads the version matching your current system and configures the executable.
macOS / Linux
Installing via npm
If you already have Node.js (>= 20.0.0) installed, you can install it globally via npm:
beta is the preview channel for the Node native-compatible version, and its version number may be lower than the Stable Release. Unless you have specific needs, it is recommended to install the Stable Release.
Verifying the Installation
After installation, run the following command. If the CLI version number is printed, the installation was successful:
PATH. For troubleshooting steps, see Installation and Upgrade issues.
First Run
Run the following command in any project root directory to enter the default interactive (TUI) mode:
Upgrade
Qoder CLI has Auto-Upgrade enabled by default. You can also manually upgrade to the latest version at any time.
Upgrading via the Installation Script
macOS / Linux
Using the Built-in Update Command
Upgrading via npm
Auto-Upgrade Settings
Auto-Upgrade is enabled by default. To disable it, set general.enableAutoUpdate to false in ~/.qoder/settings.json:
Uninstallation
The uninstallation method depends on how you installed it:
- Installed via npm: Run
npm uninstall -g @qoder-ai/qodercli. - Installed via the installation script: Delete the executable placed by the installation script and remove the corresponding directory from
PATH.
~/.qoder). Before deleting, ensure there are no sessions, memories, or settings you need to keep.
The configuration directory location can be customized via theQODER_CONFIG_DIREnvironment Variable, with the default being~/.qoder. If you have set this variable, delete the corresponding directory.