Hatch을(를) 확인 창 없이 설치하고 제거하며, 배포 도구에서 감지하기 위한 명령어입니다. 매니페스트에 기재되어 있거나 설치 기술의 문서화된 기본값처럼 확실한 명령어만 표시합니다.
관련 가이드: 무인 설치(자동 설치) 옵션 총정리 · 레지스트리·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비트 · EXE (WiX Burn) · 모든 사용자
무인 설치
hatch-universal.exe /quiet /norestart제거
msiexec /x {502D5045-6D40-43D7-BD16-802BF5AE5125} /qn /norestart- MSI 제품 코드
- {502d5045-6d40-43d7-bd16-802bf5ae5125}
- 제거 레지스트리 키
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{502d5045-6d40-43d7-bd16-802bf5ae5125}
- UpgradeCode
- {B37530C5-BA4B-5B74-8FD2-11B3C6FEC322}
64비트 · MSI · 모든 사용자
무인 설치
msiexec /i hatch-x64.msi /qn /norestart로그 파일 저장
msiexec /i hatch-x64.msi /qn /norestart /l*v "%TEMP%\hatch-install.log"제거
msiexec /x {5E6EBEE6-403B-4F0E-AB0C-8012767DF2DB} /qn /norestart- MSI 제품 코드
- {5E6EBEE6-403B-4F0E-AB0C-8012767DF2DB}
- 제거 레지스트리 키
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{5E6EBEE6-403B-4F0E-AB0C-8012767DF2DB}
- UpgradeCode
- {FD7A2091-85DB-5381-9D0B-A70CCB1780AB}
32비트 · EXE (WiX Burn) · 모든 사용자
무인 설치
hatch-universal.exe /quiet /norestart제거
msiexec /x {502D5045-6D40-43D7-BD16-802BF5AE5125} /qn /norestart- MSI 제품 코드
- {502d5045-6d40-43d7-bd16-802bf5ae5125}
- 제거 레지스트리 키
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{502d5045-6d40-43d7-bd16-802bf5ae5125}
- UpgradeCode
- {B37530C5-BA4B-5B74-8FD2-11B3C6FEC322}
32비트 · MSI · 모든 사용자
무인 설치
msiexec /i hatch-x86.msi /qn /norestart로그 파일 저장
msiexec /i hatch-x86.msi /qn /norestart /l*v "%TEMP%\hatch-install.log"제거
msiexec /x {618BD727-0E10-4F39-87D5-9F3E377752F6} /qn /norestart- MSI 제품 코드
- {618BD727-0E10-4F39-87D5-9F3E377752F6}
- 제거 레지스트리 키
- 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