Polecenia do instalacji programu Neuron bez pytań, do jego usuwania i do wykrywania w narzędziach wdrożeniowych. Polecenie jest podane tylko wtedy, gdy jest pewne: pochodzi z manifestu albo z udokumentowanych ustawień domyślnych technologii instalatora.
Powiązany poradnik: Parametry cichej instalacji: MSI, NSIS, Inno Setup · Odinstalowanie programu przez rejestr lub PowerShell
Przez winget
PowerShell
winget install --id NeuronWorkspace.Neuron -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id NeuronWorkspace.Neuron -e --silentwinget uninstall --id NeuronWorkspace.Neuron -e --silentWedług instalatora
64-bit · EXE (NSIS)
Cicha instalacja
Neuron-0.4.5-win-x64.exe /SWłasny folder
Neuron-0.4.5-win-x64.exe /S /D=C:\Apps\neuronPowerShell: pobierz, zweryfikuj, zainstaluj
Pobiera oficjalny plik, sprawdza jego SHA256 i instaluje go po cichu.
install-neuron.ps1
$url = 'https://github.com/neuron-workspace/Neuron/releases/download/v0.4.5/Neuron-0.4.5-win-x64.exe'
$sha256 = 'DF9F69EF20CF9C46C3B59D14F2D9C6263F468D55F1804F10BEA56B05881D4AD9'
$file = Join-Path $env:TEMP 'Neuron-0.4.5-win-x64.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