Foundry Local CLIን ያለ ጥያቄ ለመጫን፣ መልሶ ለማራገፍ እና ከማሰማሪያ መሣሪያዎች ለማወቅ የሚያገለግሉ ትዕዛዞች። ትዕዛዝ የሚታየው እርግጠኛ ሲሆን ብቻ ነው፦ ከማኒፌስቱ ወይም ከጫኚው ቴክኖሎጂ የተመዘገበ ነባሪ።
ተዛማጅ መመሪያ: የጸጥ ያለ ጭነት መቀየሪያዎች፦ MSI፣ NSIS፣ Inno Setup · ፕሮግራምን በመዝገብ (Registry) ወይም በPowerShell ማራገፍ
በwinget
PowerShell
winget install --id Microsoft.FoundryLocal -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Microsoft.FoundryLocal -e --silentwinget uninstall --id Microsoft.FoundryLocal -e --silentበጫኚ
64-bit · MSIX · የአሁኑ ተጠቃሚ
ጸጥ ያለ ጭነት
Add-AppxPackage -Path foundry-0.14.0-win-x64.msixማራገፍ
Get-AppxPackage -Name Microsoft.FoundryLocal | Remove-AppxPackageARM64 · MSIX · የአሁኑ ተጠቃሚ
ጸጥ ያለ ጭነት
Add-AppxPackage -Path foundry-0.14.0-win-arm64.msixማራገፍ
Get-AppxPackage -Name Microsoft.FoundryLocal | Remove-AppxPackagePowerShell፦ አውርድ፣ አረጋግጥ፣ ጫን
ይፋዊውን ፋይል ያወርዳል፣ SHA256ን ያረጋግጣል እና በጸጥታ ይጭነዋል።
install-foundry-local.ps1
$url = 'https://github.com/microsoft/Foundry-Local/releases/download/cli-preview-0.14.0/foundry-0.14.0-win-x64.msix'
$sha256 = '53DADCF8E7E8449E2B635F8B55EB8DBFEB3F0F7F548B7327966A5C233DB520B1'
$file = Join-Path $env:TEMP 'foundry-0.14.0-win-x64.msix'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Add-AppxPackage -Path $file install-foundry-local.ps1
$url = 'https://github.com/microsoft/Foundry-Local/releases/download/cli-preview-0.14.0/foundry-0.14.0-win-arm64.msix'
$sha256 = '156FB1C092564EA8D51E949AECE42C136425845A9F5DC344480195DB8E4A11B4'
$file = Join-Path $env:TEMP 'foundry-0.14.0-win-arm64.msix'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Add-AppxPackage -Path $file