|
| 1 | +{ |
| 2 | + "id": "terminal-setup-windows", |
| 3 | + "name": "Windows Terminal环境配置", |
| 4 | + "version": "1.0.0", |
| 5 | + "description": "为Windows用户安装和配置Terminal工具,包括Windows Terminal、PowerShell 7、Oh My Posh等", |
| 6 | + "level": "beginner", |
| 7 | + "platform": ["windows"], |
| 8 | + "prerequisites": [ |
| 9 | + "Windows 10/11电脑", |
| 10 | + "管理员权限", |
| 11 | + "网络连接" |
| 12 | + ], |
| 13 | + "steps": [ |
| 14 | + { |
| 15 | + "order": 1, |
| 16 | + "title": "安装winget", |
| 17 | + "description": "确保winget包管理器可用", |
| 18 | + "action": { |
| 19 | + "type": "script", |
| 20 | + "command": "winget --version", |
| 21 | + "expected_output": "v1.x.x", |
| 22 | + "documentation": "docs/guides/terminal-setup-windows.md#前置要求" |
| 23 | + } |
| 24 | + }, |
| 25 | + { |
| 26 | + "order": 2, |
| 27 | + "title": "安装Windows Terminal", |
| 28 | + "description": "安装微软官方Terminal", |
| 29 | + "action": { |
| 30 | + "type": "script", |
| 31 | + "command": "winget install Microsoft.WindowsTerminal", |
| 32 | + "documentation": "docs/guides/terminal-setup-windows.md#推荐的三个terminal工具" |
| 33 | + } |
| 34 | + }, |
| 35 | + { |
| 36 | + "order": 3, |
| 37 | + "title": "安装PowerShell 7", |
| 38 | + "description": "安装最新版PowerShell", |
| 39 | + "action": { |
| 40 | + "type": "script", |
| 41 | + "command": "winget install Microsoft.PowerShell", |
| 42 | + "documentation": "docs/guides/terminal-setup-windows.md#shell增强工具" |
| 43 | + } |
| 44 | + }, |
| 45 | + { |
| 46 | + "order": 4, |
| 47 | + "title": "安装Oh My Posh", |
| 48 | + "description": "安装PowerShell美化工具", |
| 49 | + "action": { |
| 50 | + "type": "script", |
| 51 | + "command": "winget install JanDeDobbeleer.OhMyPosh", |
| 52 | + "documentation": "docs/guides/terminal-setup-windows.md#shell增强工具" |
| 53 | + } |
| 54 | + }, |
| 55 | + { |
| 56 | + "order": 5, |
| 57 | + "title": "安装实用工具", |
| 58 | + "description": "安装Git、fzf、bat、ripgrep等工具", |
| 59 | + "action": { |
| 60 | + "type": "script", |
| 61 | + "command": "winget install Git.Git junegunn.fzf sharkdp.bat BurntSushi.ripgrep.MSVC ajeetdsouza.zoxide", |
| 62 | + "documentation": "docs/guides/terminal-setup-windows.md#实用工具" |
| 63 | + } |
| 64 | + }, |
| 65 | + { |
| 66 | + "order": 6, |
| 67 | + "title": "验证安装", |
| 68 | + "description": "验证所有工具是否正确安装", |
| 69 | + "action": { |
| 70 | + "type": "verification", |
| 71 | + "command": "scripts/install/install-terminal-tools-windows.ps1 -Verify", |
| 72 | + "expected_output": "All tools installed successfully" |
| 73 | + } |
| 74 | + } |
| 75 | + ], |
| 76 | + "estimated_time": "15-30分钟", |
| 77 | + "tags": ["terminal", "windows", "beginner", "productivity"], |
| 78 | + "automation": { |
| 79 | + "full_script": "scripts/install/install-terminal-tools-windows.ps1", |
| 80 | + "documentation": "docs/guides/terminal-setup-usage.md" |
| 81 | + } |
| 82 | +} |
0 commit comments