Replies: 1 comment
-
背景刚刚升级到 1.42.0 版本后,在 Windows 上运行 问题1.42.0 版本将 Windows shell 后端从 PowerShell 切换到了 Git Bash,这是一个很好的改进!但缺少前置依赖的提前检测和安装引导,导致升级后直接使用时报错。 建议
环境
临时解决方案(已验证可行)安装 Git for Windows 后问题解决:https://git-scm.com/downloads/win 感谢团队的持续改进!1.42.0 切换到 Git Bash 后的体验确实比之前 PowerShell 好很多 👍 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
What feature would you like to see?
On Windows, kimi-cli currently hardcodes PowerShell as the shell for executing commands. This causes significant issues because:
• ls -la && cat file.txt → Error: '&&' is not a valid statement separator
• export VAR=value → Error: export is not recognized
• cat file | grep pattern → Pipeline syntax differs
Proposed Solution
Add a [shell] configuration section to ~/.kimi/config.toml with hybrid detection:
Priority order:
Example config:
Benefits
• LLM-generated bash commands work correctly
• Cross-platform consistency
• Zero-config for Git Bash users (just launch from Git Bash)
• Backwards compatible (default unchanged)
──────────────────────────────────────────────────────────────────────
Additional information
No response
Beta Was this translation helpful? Give feedback.
All reactions