脚本会下载并在本地执行代码,运行前请先阅读脚本内容。
powershell -ExecutionPolicy Bypass -File .\setup-windows.ps1 -Agent Both所有被替换的配置文件会在修改前自动备份到:
~/.CodingAgentSetup-backup-<timestamp>/
安装过程中会通过 winget 或 bun 从以下来源下载工具:
- winget 官方源(微软)
- npm registry(bun 全局包)
- GitHub Releases(rtk)