Commands for installing Project-Env Shell 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 ProjectEnv.ProjectEnvShell -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id ProjectEnv.ProjectEnvShell -e --silentwinget uninstall --id ProjectEnv.ProjectEnvShell -e --silentBy installer
64-bit · EXE (NSIS)
Silent install
shell-3.2.0-windows-amd64-setup.exe /SCustom folder
shell-3.2.0-windows-amd64-setup.exe /S /D=C:\Apps\project-env-shellPowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-project-env-shell.ps1
$url = 'https://github.com/Project-Env/project-env-shell/releases/download/v3.2.0/shell-3.2.0-windows-amd64-setup.exe'
$sha256 = '72F4063416AAF4DE1EA8053745EEDCB829C0743A40FD75843D9AEA9B74AE626C'
$file = Join-Path $env:TEMP 'shell-3.2.0-windows-amd64-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