Commands for installing NexusShell 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 MF.NexusShell -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id MF.NexusShell -e --silentwinget uninstall --id MF.NexusShell -e --silentBy installer
64-bit · EXE · en-US
Silent install
NexusShell_Silent_Setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTARTPowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
install-nexusshell.ps1
$url = 'https://github.com/Mohammedkhaled96/NexusShell/releases/download/v4.1.1/NexusShell_Silent_Setup.exe'
$sha256 = '4C9A40C2E5EA1133046DD82255D7D19E9F9FFE66C45A277C0965FB48B8CBEB02'
$file = Join-Path $env:TEMP 'NexusShell_Silent_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 '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART' -Wait