@@ -18,6 +18,7 @@ $downloadUrl = "https://github.com/gpu-mode/popcorn-cli/releases/latest/download
1818$tempDir = " $env: TEMP \popcorn-cli-install"
1919$installDir = " $env: LOCALAPPDATA \popcorn-cli"
2020$binaryPath = " $installDir \popcorn-cli.exe"
21+ $aliasPath = " $installDir \popcorn.cmd"
2122
2223# Create directories
2324try {
5455 $fullBinaryPath = Join-Path $tempDir $binarySource
5556 Copy-Item $fullBinaryPath $binaryPath - Force
5657 Write-Host " Binary extracted and copied" - ForegroundColor Green
58+
59+ $aliasContent = @ (
60+ " @echo off" ,
61+ " `" %~dp0popcorn-cli.exe`" %*"
62+ )
63+ Set-Content - Path $aliasPath - Value $aliasContent - Encoding ASCII
64+ Write-Host " Created alias: popcorn -> popcorn-cli.exe" - ForegroundColor Green
5765 } else {
5866 Write-Host " popcorn-cli.exe not found in archive" - ForegroundColor Red
5967 exit 1
@@ -104,16 +112,17 @@ Write-Host "Popcorn CLI installed and ready for hackathon!" -ForegroundColor Gre
104112Write-Host " "
105113Write-Host " Quick Start:" - ForegroundColor Cyan
106114Write-Host " 1. Restart your terminal/PowerShell" - ForegroundColor White
107- Write-Host " 2. Register with GitHub: popcorn-cli register github" - ForegroundColor White
108- Write-Host " 3. Submit your solution: popcorn-cli submit --gpu MI300 --leaderboard amd-fp8-mm --mode test <your-file>" - ForegroundColor White
115+ Write-Host " 2. Register with GitHub: popcorn register github" - ForegroundColor White
116+ Write-Host " 3. Submit your solution: popcorn submit --gpu MI300 --leaderboard amd-fp8-mm --mode test <your-file>" - ForegroundColor White
109117Write-Host " "
110118Write-Host " Hackathon mode features:" - ForegroundColor Cyan
111119Write-Host " - API URL pre-configured" - ForegroundColor White
112120Write-Host " - GitHub authentication (no Discord setup needed)" - ForegroundColor White
113121Write-Host " - All modes available: test, benchmark, leaderboard, profile" - ForegroundColor White
114122Write-Host " - Clean user identification" - ForegroundColor White
115123Write-Host " "
116- Write-Host " Need help? Run: popcorn-cli --help" - ForegroundColor White
117- Write-Host " Example: popcorn-cli submit --gpu MI300 --leaderboard amd-fp8-mm --mode test example.py" - ForegroundColor White
124+ Write-Host " Need help? Run: popcorn --help" - ForegroundColor White
125+ Write-Host " Example: popcorn submit --gpu MI300 --leaderboard amd-fp8-mm --mode test example.py" - ForegroundColor White
126+ Write-Host " Canonical binary: popcorn-cli.exe; alias command: popcorn" - ForegroundColor Gray
118127Write-Host " "
119- Write-Host " Installation location: $installDir " - ForegroundColor Gray
128+ Write-Host " Installation location: $installDir " - ForegroundColor Gray
0 commit comments