Commands for installing Logseq 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 Logseq.Logseq -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Logseq.Logseq -e --silentwinget uninstall --id Logseq.Logseq -e --silentBy installer
64-bit · EXE (NSIS) · Current user
Silent install
Logseq-win-x64-2.0.2-nsis.exe /SCustom folder
Logseq-win-x64-2.0.2-nsis.exe /S /D=C:\Apps\logseq- Uninstall registry key
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\8b963d14-71b6-5579-927a-616b0650a9c8
64-bit · EXE (NSIS) · All users
Silent install
Logseq-win-x64-2.0.2-nsis.exe /SCustom folder
Logseq-win-x64-2.0.2-nsis.exe /S /D=C:\Apps\logseq- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\8b963d14-71b6-5579-927a-616b0650a9c8
ARM64 · EXE (NSIS) · Current user
Silent install
Logseq-win-arm64-2.0.2-nsis.exe /SCustom folder
Logseq-win-arm64-2.0.2-nsis.exe /S /D=C:\Apps\logseq- Uninstall registry key
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\8b963d14-71b6-5579-927a-616b0650a9c8
ARM64 · EXE (NSIS) · All users
Silent install
Logseq-win-arm64-2.0.2-nsis.exe /SCustom folder
Logseq-win-arm64-2.0.2-nsis.exe /S /D=C:\Apps\logseq- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\8b963d14-71b6-5579-927a-616b0650a9c8
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-logseq.ps1
$url = 'https://github.com/logseq/logseq/releases/download/2.0.2/Logseq-win-x64-2.0.2-nsis.exe'
$sha256 = '5D7F52FA676A65CB91B88A688FF2705DE629DD60A0530DC6C9119E97B463D853'
$file = Join-Path $env:TEMP 'Logseq-win-x64-2.0.2-nsis.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-logseq.ps1
$url = 'https://github.com/logseq/logseq/releases/download/2.0.2/Logseq-win-x64-2.0.2-nsis.exe'
$sha256 = '5D7F52FA676A65CB91B88A688FF2705DE629DD60A0530DC6C9119E97B463D853'
$file = Join-Path $env:TEMP 'Logseq-win-x64-2.0.2-nsis.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-logseq.ps1
$url = 'https://github.com/logseq/logseq/releases/download/2.0.2/Logseq-win-arm64-2.0.2-nsis.exe'
$sha256 = '44F60959E0D2BB71F573A8FABD3F5DC7ABB3EC6BB0457AEB680E643A775424B4'
$file = Join-Path $env:TEMP 'Logseq-win-arm64-2.0.2-nsis.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-logseq.ps1
$url = 'https://github.com/logseq/logseq/releases/download/2.0.2/Logseq-win-arm64-2.0.2-nsis.exe'
$sha256 = '44F60959E0D2BB71F573A8FABD3F5DC7ABB3EC6BB0457AEB680E643A775424B4'
$file = Join-Path $env:TEMP 'Logseq-win-arm64-2.0.2-nsis.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