Troubleshoot common issues related to Qoder CLI installation, upgrades, PATH, and permissions.
This page summarizes common issues and solutions when installing or upgrading Qoder CLI. For installation steps, see Installation and Upgrade.
If running
After installation is complete, run the following commands to confirm it is working:
If both commands produce normal output, the installation was successful.
command not found
If running qodercli after installation results in a command not found error, it is usually because the directory containing the executable is not in your PATH.
-
After a global installation via npm, ensure the global bin directory is added to your
PATH: -
After modifying your
PATH, apply the changes: on Linux / macOS, after editing the shell configuration file (such as~/.zshrcor~/.bashrc), restart the terminal or runsource; on Windows, after modifying system environment variables, restart the terminal. -
Verify the installation location:
- If installation fails or no binary is available on Windows arm64 devices: this platform is not currently supported. See Installation and Upgrade.
permission denied
- If you encounter permission errors during global installation, avoid forcing the installation with administrator privileges. It is recommended to change the npm Global Directory to a user-writable path and then reinstall.
- Using a Version Manager (such as nvm) to manage your runtime can avoid permission issues with system-level directories.
Upgrade Failed or Version Not Updated
- First, run the built-in update command:
- If the old version is still displayed after upgrading, first check which binary is currently being invoked (use
where qoderclion Windows): - If installed via multiple channels (e.g., using both npm and Homebrew), multiple
qoderclimay exist, and the one appearing first in yourPATHwill be invoked. Uninstall the versions from redundant channels and keep only one. - After cleanup, reinstall the latest version via the original channel: for script installations, use
curl -fsSL https://qoder.com/install | bash -s -- --forceto force a reinstall; for npm installations, usenpm install -g @qoder-ai/qodercli@latest. See Installation and Upgrade for details.
Duplicate Installations / Multi-Version Conflicts
- List all matching executables to check for multiple copies: use
which -a qoderclion Linux / macOS, andwhere qodercli(Command Prompt) orGet-Command qodercli -All(PowerShell) on Windows. - Keep only one installation channel and remove the others to avoid version confusion.
Verify Installation
After installation is complete, run the following commands to confirm it is working:
Next Steps
- Installation and upgrade guide: Installation and Upgrade.
- Network issues during download or installation: Network, Proxy, and VPC Issues.
- Sign-in issues: Sign-in and Authentication Issues.