熱門: 資料更新於2026年11月2日

軟體分類

網路軟體1,362
通訊社群321
影音軟體907
繪圖與影像543
辦公軟體1,121
開發工具3,142
AI工具536
安全與隱私390
系統工具3,140
遊戲525
教育與科學239
網路與IT282

GLab靜默安裝與解除安裝參數

An open-source GitLab command line tool bringing GitLabs cool features to your command line

免互動安裝GLab、解除安裝,以及在部署工具中偵測安裝狀態所用的指令。只列出確定可用的指令:來自資訊清單,或是安裝程式技術的官方預設參數。

相關教學: 靜默安裝參數總整理:MSI、NSIS、Inno Setup · 用登錄檔或PowerShell解除安裝程式

使用winget

PowerShell
winget install --id GLab.GLab -e --silent --accept-package-agreements --accept-source-agreements
winget upgrade --id GLab.GLab -e --silent
winget uninstall --id GLab.GLab -e --silent

依安裝檔

64位元 · EXE(Inno Setup) · 僅目前使用者

靜默安裝glab_1.126.0_Windows_x86_64_installer.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-
自訂安裝資料夾glab_1.126.0_Windows_x86_64_installer.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\glab"
解除安裝登錄機碼
HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{679C50AE-F48A-46D1-9493-77F095E9884D}_is1
安裝資料夾
%LocalAppData%\Programs\glab

64位元 · EXE(Inno Setup) · 所有使用者

靜默安裝glab_1.126.0_Windows_x86_64_installer.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-
自訂安裝資料夾glab_1.126.0_Windows_x86_64_installer.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\glab"
解除安裝登錄機碼
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{679C50AE-F48A-46D1-9493-77F095E9884D}_is1
安裝資料夾
%ProgramFiles%\glab

PowerShell:下載、驗證、安裝

下載官方檔案,驗證SHA256後靜默安裝。

install-glab.ps1
$url = 'https://gitlab.com/gitlab-org/cli/-/releases/v1.126.0/downloads/glab_1.126.0_Windows_x86_64_installer.exe'
$sha256 = '675884A41826B10CA730FBE7446EDCAE6D38AD4EE635D8EE92D801483928E9F9'
$file = Join-Path $env:TEMP 'glab_1.126.0_Windows_x86_64_installer.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 '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait

終端機與命令列熱門排行

查看全部
  1. PowerShell終端機與命令列 · Microsoft Corporation
  2. QPDF終端機與命令列 · QPDF
  3. Oh My Posh終端機與命令列 · Jan De Dobbeleer
  4. Microsoft Azure CLI終端機與命令列 · Microsoft Corporation
  5. yq終端機與命令列 · Mike Farah
  6. Alacritty終端機與命令列 · Alacritty
  7. fzf終端機與命令列 · Junegunn Choi
  8. PuTTY終端機與命令列 · Simon Tatham
  9. cURL終端機與命令列 · curl
  10. Tabby終端機與命令列 · Tabby Developers

標籤

分享