-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall.ps1
More file actions
26 lines (20 loc) · 936 Bytes
/
Copy pathinstall.ps1
File metadata and controls
26 lines (20 loc) · 936 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
$ErrorActionPreference = 'Stop'
Write-Host "Installing Mission-Forge..."
# Check required tools
if (-not (Get-Command python -ErrorAction SilentlyContinue) -and -not (Get-Command python3 -ErrorAction SilentlyContinue)) {
Write-Error "python not found. Install it from https://python.org"
exit 1
}
if (-not (Get-Command pip -ErrorAction SilentlyContinue) -and -not (Get-Command pip3 -ErrorAction SilentlyContinue)) {
Write-Error "pip not found. Install it from https://python.org"
exit 1
}
if (-not (Get-Command npx -ErrorAction SilentlyContinue)) {
Write-Error "npx not found. Install Node.js 18+ from https://nodejs.org"
exit 1
}
pip install git+https://github.com/loudiman/Mission-Forge.git
if ($?) { npx -y skills add loudiman/Mission-Forge }
Write-Host "✓ missionforge CLI installed"
Write-Host "✓ Agent skills installed"
Write-Host "Run ``missionforge init MF-001`` to create your first mission."