Windows Equivalent zu aptitude und homebrew - Installiere Software à la 20xx
- Powershell als Administrator ausführen
- Scripts für diese Session erlauben:
Set-ExecutionPolicy Bypass -Scope Process -Force
- Installer downloaden und ausführen:
iex(wget https://chocolatey.org/install.ps1)
- mit
y
bestätigen refreshenv
oder powershell schliessen und neu öffnen (wieder als Administrator)- Pakete installieren mit
choco install ...
z.B.choco install 7zip
- Bei Fehler "Internet Explorer engine is not available":
Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Internet Explorer\Main" -Name "DisableFirstRunCustomize" -Value 2
- Immer Administrator Shell verwenden (Tipp: Ctrl+Shift+Enter startet ein beliebiges Program als Administrator)
- Internet Explorer muss mindestens 1 mal ausgeführt worden sein vor der installation
- um die Bestätigung vorwegzunehmen:
-y
z.B.:choco install adobereader -y
- um die Bestätigung abzuschalten:
choco feature enable -n=allowGlobalConfirmation
- noch kürzer:
cinst
z.B.:cinst vlc
;) - upgraden:
choco upgrade
odercup
. Ist das Programm noch nicht installiert wird es installiert
- verfügbare Pakete findet man auf chocolatey.org/packages
- notepad++ heist
notepadplusplus
- google chrome heisst
googlechrome
It seems that since recently you have to run
[Net.ServicePointManager]::SecurityProtocol
= [Net.SecurityProtocolType]::Tls12` before downloading.