Commands for installing Code Déjà Vu 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 jnchen.CodeDejavu -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id jnchen.CodeDejavu -e --silentwinget uninstall --id jnchen.CodeDejavu -e --silentBy installer
64-bit · EXE (NSIS) · Current user
Silent install
code-dejavu_0.6.0_x64-setup.exe /SCustom folder
code-dejavu_0.6.0_x64-setup.exe /S /D=C:\Apps\code-deja-vu- Uninstall registry key
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Code Déjà Vu
- Install folder
- %LocalAppData%\Code Déjà Vu
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-code-deja-vu.ps1
$url = 'https://github.com/jnchen/code_dejavu/releases/download/v0.6.0/code-dejavu_0.6.0_x64-setup.exe'
$sha256 = 'B841673283F40FD1DA275275C10649EA42F0CC93FEC71189042C91270D35A3D3'
$file = Join-Path $env:TEMP 'code-dejavu_0.6.0_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