Troubleshooting
This document provides solutions to common problems.
Installation Issues
Section titled “Installation Issues”Issue: Installation script download failed
Section titled “Issue: Installation script download failed”Symptoms: Network error when running installation command
Solutions:
- Check network connection
- Try using a proxy
- Manual download: visit https://carrycode.ai/releases
Issue: Permission denied
Section titled “Issue: Permission denied”Symptoms: Permission denied error
Solutions:
# Linux/macOSsudo sh install.sh
# WindowsRun PowerShell as administratorIssue: Cannot find carry command
Section titled “Issue: Cannot find carry command”Symptoms: Installation successful but cannot run
Solutions:
- Confirm installation path is in PATH
- Reload terminal config:
source ~/.bashrcorsource ~/.zshrc - Check installation location:
ls /usr/local/bin/carry
Connection Issues
Section titled “Connection Issues”Issue: Cannot connect to AI service
Section titled “Issue: Cannot connect to AI service”Symptoms: Network error or timeout
Solutions:
- Check network connection
- If using proxy, configure proxy environment variables
- Try changing AI provider
- Check if API Key is correct
Issue: Invalid API Key
Section titled “Issue: Invalid API Key”Symptoms: API Key error
Solutions:
- Confirm API Key is copied completely
- Check Key status in provider dashboard
- Regenerate API Key
Interface Issues
Section titled “Interface Issues”Issue: Interface display garbled
Section titled “Issue: Interface display garbled”Symptoms: Characters displayed in wrong positions
Solutions:
- Switch theme:
/theme - Change terminal application
- Check terminal encoding settings (should be UTF-8)
Issue: Chinese characters display incorrectly
Section titled “Issue: Chinese characters display incorrectly”Symptoms: Chinese characters display abnormally
Solutions:
- Confirm terminal supports UTF-8
- Set environment variable:
export LANG=en_US.UTF-8
Issue: Theme not taking effect
Section titled “Issue: Theme not taking effect”Symptoms: No change after switching theme
Solutions:
- Restart Carry Code
- Check config file format
Function Issues
Section titled “Function Issues”Issue: AI cannot read files
Section titled “Issue: AI cannot read files”Symptoms: File doesn’t exist or permission denied
Solutions:
- Confirm file path is correct
- Check file permissions
- Confirm file is within workspace
Issue: AI cannot execute commands
Section titled “Issue: AI cannot execute commands”Symptoms: Command execution fails
Solutions:
- Check approval mode settings
- Confirm command syntax is correct
- Check command permissions
Issue: MCP server connection failed
Section titled “Issue: MCP server connection failed”Symptoms: Cannot connect to MCP server
Solutions:
- Confirm server is running
- Check server address
- Test network connection
- Check server logs
Performance Issues
Section titled “Performance Issues”Issue: Slow response
Section titled “Issue: Slow response”Symptoms: Long wait time for AI responses
Solutions:
- Choose provider with better network latency
- Use lighter models
- Check local network speed
Issue: High memory usage
Section titled “Issue: High memory usage”Symptoms: System memory usage too high
Solutions:
- Compress session context:
/compact - Create new session
- Close unnecessary applications
Issue: Token limit exceeded
Section titled “Issue: Token limit exceeded”Symptoms: Token limit exceeded error
Solutions:
- Use
/compactto compress context - Create new session
- Use more concise prompts
Configuration Issues
Section titled “Configuration Issues”Issue: Config file format error
Section titled “Issue: Config file format error”Symptoms: Config not taking effect
Solutions:
- Check JSON format correctness
- Use JSON validation tool
- Delete config file and reconfigure
Issue: AGENTS.md not taking effect
Section titled “Issue: AGENTS.md not taking effect”Symptoms: Rules not applied
Solutions:
- Confirm file is in project root
- Check file format
- Restart Carry Code
Session Issues
Section titled “Session Issues”Issue: Session not saved
Section titled “Issue: Session not saved”Symptoms: Conversation lost after restart
Solutions:
- Check session directory permissions
- Confirm sufficient disk space
- Check log files
Issue: Cannot switch sessions
Section titled “Issue: Cannot switch sessions”Symptoms: Session switch failed
Solutions:
- Confirm session name is correct
- Check if session file exists
- Restart Carry Code
Update Issues
Section titled “Update Issues”Issue: Update failed
Section titled “Issue: Update failed”Symptoms: /update command fails
Solutions:
- Check network connection
- Manually download new version
- Reinstall
Issue: Function abnormal after update
Section titled “Issue: Function abnormal after update”Symptoms: Problems with new version
Solutions:
- Rollback to old version
- Delete config and reconfigure
- Report issue to GitHub
Getting Help
Section titled “Getting Help”If none of the above solutions work:
- View documentation: https://docs.carrycode.ai
- Community support: https://carrycode.ai
- Report issues: https://github.com/carrycode/carrycode/issues