Go Programming Language을(를) 확인 창 없이 설치하고 제거하며, 배포 도구에서 감지하기 위한 명령어입니다. 매니페스트에 기재되어 있거나 설치 기술의 문서화된 기본값처럼 확실한 명령어만 표시합니다.
관련 가이드: 무인 설치(자동 설치) 옵션 총정리 · 레지스트리·PowerShell로 프로그램 제거
winget 사용
PowerShell
winget install --id GoLang.Go -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id GoLang.Go -e --silentwinget uninstall --id GoLang.Go -e --silent설치 파일별
64비트 · MSI · 모든 사용자
무인 설치
msiexec /i go1.27.0.windows-amd64.msi /qn /norestart로그 파일 저장
msiexec /i go1.27.0.windows-amd64.msi /qn /norestart /l*v "%TEMP%\go-programming-language-install.log"제거
msiexec /x {649B7E21-BFFC-4209-925C-5736BBF28E54} /qn /norestart- MSI 제품 코드
- {649B7E21-BFFC-4209-925C-5736BBF28E54}
- 제거 레지스트리 키
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{649B7E21-BFFC-4209-925C-5736BBF28E54}
- UpgradeCode
- {22EA7650-4AC6-4001-BF29-F4B8775DB1C0}
- 설치 폴더
- %ProgramFiles%\Go
ARM64 · MSI · 모든 사용자
무인 설치
msiexec /i go1.27.0.windows-arm64.msi /qn /norestart로그 파일 저장
msiexec /i go1.27.0.windows-arm64.msi /qn /norestart /l*v "%TEMP%\go-programming-language-install.log"제거
msiexec /x {0472BCA2-7035-46EA-A36F-EA9B6AEECB31} /qn /norestart- MSI 제품 코드
- {0472BCA2-7035-46EA-A36F-EA9B6AEECB31}
- 제거 레지스트리 키
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{0472BCA2-7035-46EA-A36F-EA9B6AEECB31}
- UpgradeCode
- {21ADE9A3-3FDD-4BA6-BEA6-C85ABADC9488}
- 설치 폴더
- %ProgramFiles%\Go
32비트 · MSI · 모든 사용자
무인 설치
msiexec /i go1.27.0.windows-386.msi /qn /norestart로그 파일 저장
msiexec /i go1.27.0.windows-386.msi /qn /norestart /l*v "%TEMP%\go-programming-language-install.log"제거
msiexec /x {228A82DF-FA4F-4C68-AFD9-39B8344F1C30} /qn /norestart- MSI 제품 코드
- {228A82DF-FA4F-4C68-AFD9-39B8344F1C30}
- 제거 레지스트리 키
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{228A82DF-FA4F-4C68-AFD9-39B8344F1C30}
- UpgradeCode
- {1C3114EA-08C3-11E1-9095-7FCA4824019B}
- 설치 폴더
- %ProgramFiles(x86)%\Go
PowerShell: 다운로드, 검증, 설치
공식 파일을 다운로드하고 SHA256을 확인한 뒤 무인 설치합니다.
install-go-programming-language.ps1
$url = 'https://go.dev/dl/go1.27.0.windows-amd64.msi'
$sha256 = '728E9318C061B95082BCF167BAB8B6C6E0D91A045F89F403B3285FA39F0C455B'
$file = Join-Path $env:TEMP 'go1.27.0.windows-amd64.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-go-programming-language.ps1
$url = 'https://go.dev/dl/go1.27.0.windows-arm64.msi'
$sha256 = '9259168CDA232152F3EF0C51149E842E93E4F67DF84713B55CA31128518E97E3'
$file = Join-Path $env:TEMP 'go1.27.0.windows-arm64.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-go-programming-language.ps1
$url = 'https://go.dev/dl/go1.27.0.windows-386.msi'
$sha256 = 'A75FE7151E3D9C8C0D43759C92AE320525B49E238510B8FA082B32C1FADFD369'
$file = Join-Path $env:TEMP 'go1.27.0.windows-386.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