Go Programming Language लाई कुनै प्रश्न नसोधी इन्स्टल गर्ने, फेरि हटाउने र डिप्लोइमेन्ट टुलले पहिचान गर्ने कमान्डहरू। कुनै कमान्ड पक्का भएमा मात्र देखाइन्छ: म्यानिफेस्टबाट, वा इन्स्टलर प्रविधिको दस्तावेज गरिएको डिफल्टबाट।
सम्बन्धित गाइड: साइलेन्ट इन्स्टल स्विच: MSI, NSIS, Inno Setup · रजिस्ट्री वा 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इन्स्टलर अनुसार
६४-बिट · 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
३२-बिट · 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