Commands for installing NextChat without prompts, removing it again and detecting it from deployment tools. A command is shown only when it is certain: from the manifest or the installer technology’s documented default.
Related guide: Silent install switches: MSI, NSIS, Inno Setup · Uninstall a program with the registry or PowerShell
With winget
PowerShell
winget install --id NextChat.NextChat -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id NextChat.NextChat -e --silentwinget uninstall --id NextChat.NextChat -e --silentBy installer
64-bit · EXE (NSIS) · Current user
Silent install
NextChat_2.15.8_x64-setup.exe /SCustom folder
NextChat_2.15.8_x64-setup.exe /S /D=C:\Apps\nextchat- Uninstall registry key
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\NextChat
64-bit · MSI · All users
Silent install
msiexec /i NextChat_2.15.8_x64_en-US.msi /qn /norestartWrite a log
msiexec /i NextChat_2.15.8_x64_en-US.msi /qn /norestart /l*v "%TEMP%\nextchat-install.log"Uninstall
msiexec /x {9BB1DC4C-8710-404C-98AF-76BADC374B03} /qn /norestart- MSI product code
- {9BB1DC4C-8710-404C-98AF-76BADC374B03}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{9BB1DC4C-8710-404C-98AF-76BADC374B03}
- UpgradeCode
- {13D8FC51-8410-5876-9677-DD0F4D3321FE}
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-nextchat.ps1
$url = 'https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web/releases/download/v2.15.8/NextChat_2.15.8_x64-setup.exe'
$sha256 = 'FA270D75334418713A6EB75F8549EBE71AAA01CA754F46CC1082333B45BA8B4F'
$file = Join-Path $env:TEMP 'NextChat_2.15.8_x64-setup.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 '/S' -Wait install-nextchat.ps1
$url = 'https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web/releases/download/v2.15.8/NextChat_2.15.8_x64_en-US.msi'
$sha256 = 'EF5E40FB07D74C2216B70A7C3D6008B392F6ADCBA4AB539FD02287F44A1CAE92'
$file = Join-Path $env:TEMP 'NextChat_2.15.8_x64_en-US.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