Introduction
When using Qoder Agent mode, terminal execution relies heavily on your local environment and shell configuration. You may encounter issues such as:- Inability to launch the terminal
- Commands not executing
- No output returned
Common troubleshooting methods
Method 1: Configure a supported shell
Qoder supports several shells. Ensure you’re using a compatible one.- Open Qoder.
- Press
Cmd + Shift + P
(MacOS)orCtrl + Shift + P
(Windows/Linux) to open the Command Palette. - Type
Terminal: Select Default Profile
and select it. - Choose a supported shell:
- Linux/macOS:
bash
,fish
,pwsh
,zsh
- Windows:
Git Bash
,pwsh
- Linux/macOS:
- Completely close and reopen Qoder for changes to take effect.
Method 2: Manually install shell integration
If terminal integration still fails, install shell integration manually by adding the appropriate line to your shell’s configuration file.- zsh (
~/.zshrc
):
- Bash (
~/.bashrc
):
- PowerShell (
$Profile
):
- Fish (
~/.config/fish/config.fish
):
- Save the changes.
- Restart Qoder completely.
If issues persist
If you still don’t receive terminal output:- Click the “Terminate Terminal” button to close the current terminal session.
- Run the command again. This refreshes the terminal connection and often resolves transient issues.
Windows-specific troubleshooting
Git Bash
- Download and install Git for Windows from: https://git-scm.com/downloads/win.
- Exit and reopen Qoder.
-
Set “Git Bash” as the default terminal:
a. Open the Command Palette.
b. Run:
Terminal: Select Default Profile
. c. Select Git Bash.
PowerShell
- Ensure you’re using PowerShell 7 or later.
Check your version:
- If needed, update PowerShell .
- By default, PowerShell restricts script execution for security. You may need to adjust the execution policy.
- Press
Win + X
- Select Windows PowerShell (Admin) or Windows Terminal (Admin)
Y
when prompted, then verify:
WSL
If using Windows Subsystem for Linux (WSL):- Add the following line to your ~/.bashrc:
Other common issues
Unusual terminal output
If you see:- Garbled characters
- Rectangular symbols
- Escape sequences (e.g., ^[[1m, ^[[32m)
- Control codes
- Powerlevel10k
- Oh My Zsh
- Custom fish themes
- Temporarily disable the customization in your shell config file.
- Restart Qoder and test.
- If the issue is resolved, re-enable customizations one at a time to identify the conflicting component.
- For long-term use, look for configurations that are compatible with Qoder’s terminal integration.