د Hatch بې پوښتنې نصبولو، بیا لرې کولو او د ځای پر ځای کولو وسایلو له لارې د پېژندلو کمانډونه. کمانډ یوازې هغه وخت ښودل کېږي چې ډاډمن وي: له مانیفسټ څخه یا د نصبوونکي ټکنالوژۍ له لیکل شوي اصلي حالت څخه.
اړوند لارښود: د چوپه نصب سویچونه: MSI، NSIS، Inno Setup · پروګرام د ریجسټري یا PowerShell په مرسته لرې کړئ
د winget سره
PowerShell
winget install --id PyPA.Hatch -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id PyPA.Hatch -e --silentwinget uninstall --id PyPA.Hatch -e --silentد نصبوونکي له مخې
64-bit · EXE (WiX Burn) · ټول کارنان
چوپه نصب
hatch-universal.exe /quiet /norestartلرې کول (Uninstall)
msiexec /x {502D5045-6D40-43D7-BD16-802BF5AE5125} /qn /norestart- د MSI د محصول کوډ
- {502d5045-6d40-43d7-bd16-802bf5ae5125}
- د Uninstall ریجسټري کیلي
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{502d5045-6d40-43d7-bd16-802bf5ae5125}
- UpgradeCode
- {B37530C5-BA4B-5B74-8FD2-11B3C6FEC322}
64-bit · MSI · ټول کارنان
چوپه نصب
msiexec /i hatch-x64.msi /qn /norestartلاګ ولیکئ
msiexec /i hatch-x64.msi /qn /norestart /l*v "%TEMP%\hatch-install.log"لرې کول (Uninstall)
msiexec /x {5E6EBEE6-403B-4F0E-AB0C-8012767DF2DB} /qn /norestart- د MSI د محصول کوډ
- {5E6EBEE6-403B-4F0E-AB0C-8012767DF2DB}
- د Uninstall ریجسټري کیلي
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{5E6EBEE6-403B-4F0E-AB0C-8012767DF2DB}
- UpgradeCode
- {FD7A2091-85DB-5381-9D0B-A70CCB1780AB}
32-bit · EXE (WiX Burn) · ټول کارنان
چوپه نصب
hatch-universal.exe /quiet /norestartلرې کول (Uninstall)
msiexec /x {502D5045-6D40-43D7-BD16-802BF5AE5125} /qn /norestart- د MSI د محصول کوډ
- {502d5045-6d40-43d7-bd16-802bf5ae5125}
- د Uninstall ریجسټري کیلي
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{502d5045-6d40-43d7-bd16-802bf5ae5125}
- UpgradeCode
- {B37530C5-BA4B-5B74-8FD2-11B3C6FEC322}
32-bit · MSI · ټول کارنان
چوپه نصب
msiexec /i hatch-x86.msi /qn /norestartلاګ ولیکئ
msiexec /i hatch-x86.msi /qn /norestart /l*v "%TEMP%\hatch-install.log"لرې کول (Uninstall)
msiexec /x {618BD727-0E10-4F39-87D5-9F3E377752F6} /qn /norestart- د MSI د محصول کوډ
- {618BD727-0E10-4F39-87D5-9F3E377752F6}
- د Uninstall ریجسټري کیلي
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{618BD727-0E10-4F39-87D5-9F3E377752F6}
- UpgradeCode
- {FD7A2091-85DB-5381-9D0B-A70CCB1780AB}
PowerShell: ډاونلوډ، تایید، نصب
رسمي فایل ډاونلوډوي، SHA256 یې ګوري او په چوپه توګه یې نصبوي.
install-hatch.ps1
$url = 'https://github.com/pypa/hatch/releases/download/hatch-v1.18.1/hatch-universal.exe'
$sha256 = '04C5D9D466CECA1566A7E3E9F61919BB83B79D6A66D0D80256FF18871D8B5980'
$file = Join-Path $env:TEMP 'hatch-universal.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/quiet /norestart' -Wait install-hatch.ps1
$url = 'https://github.com/pypa/hatch/releases/download/hatch-v1.18.1/hatch-x64.msi'
$sha256 = 'D366A806E47E486EB7D7D5CE737946CFE753D22DE4F7D4955CEB4172EB2C2405'
$file = Join-Path $env:TEMP 'hatch-x64.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait install-hatch.ps1
$url = 'https://github.com/pypa/hatch/releases/download/hatch-v1.18.1/hatch-universal.exe'
$sha256 = '04C5D9D466CECA1566A7E3E9F61919BB83B79D6A66D0D80256FF18871D8B5980'
$file = Join-Path $env:TEMP 'hatch-universal.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/quiet /norestart' -Wait install-hatch.ps1
$url = 'https://github.com/pypa/hatch/releases/download/hatch-v1.18.1/hatch-x86.msi'
$sha256 = '8C430FDF0052450DA7DB18D181AF1BDB15AD83F226665287C5F9BF540E270DF5'
$file = Join-Path $env:TEMP 'hatch-x86.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait