Chocolatey: Unterschied zwischen den Versionen

Aus
Wechseln zu: Navigation, Suche
(Die Seite wurde neu angelegt: „== Webseite == https://chocolatey.org == Install == Basic Chocolatey Install Chocolatey installs in seconds. You are just a few steps from running choco ri…“)
 
 
(5 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 3: Zeile 3:
  
 
== Install ==
 
== Install ==
  Basic Chocolatey Install
+
  https://chocolatey.org/install
Chocolatey installs in seconds. You are just a few steps from running choco right now!
+
 
First, ensure that you are using an administrative shell - you can also install as a non-admin, check out Non-Administrative Installation.
+
With PowerShell, you must ensure Get-ExecutionPolicy is not Restricted. We suggest using Bypass to bypass the policy to get things installed or AllSigned for quite a bit more security.
Copy the text specific to your command shell below.
 
NOTE: Please inspect https://chocolatey.org/install.ps1 prior to running any of these scripts to ensure safety. We already know it's safe, but you should verify the security and contents of any script from the internet you are not familiar with. All of these scripts download a remote PowerShell script and execute it on your machine. We take security very seriously. Learn more about our  security protocols.
 
Install with cmd.exe
 
Install with powershell.exe
 
Install with cmd.exe
 
Run the following command:
 
 
   
 
   
   
+
  Run Get-ExecutionPolicy. If it returns Restricted, then run Set-ExecutionPolicy AllSigned or Set-ExecutionPolicy Bypass -Scope Process.
Copy @"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin" to Clipboard
+
 
Paste the copied text into your shell and press Enter.
+
Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
Wait a few seconds for the command to complete.
+
 
If you don't see any errors, you are ready to use Chocolatey! Type choco or choco -? now, or see Getting Started for usage instructions.
+
choco upgrade chocolatey -f
 +
 
 +
== Install using WinGet ==
 +
You can install Chocolatey CLI version 2.0.0 and later through WinGet by running
 +
 
 +
winget install --id chocolatey.chocolatey --source winget
 +
 
 +
Once installed, use Chocolatey CLI as normal to upgrade.
 +
 
 +
=== ChocolateyGUI ===
 +
https://chocolatey.org/packages/ChocolateyGUI
  
=== ===
+
  choco install chocolateygui
 +
choco upgrade chocolateygui
 +
choco uninstall chocolateygui

Aktuelle Version vom 2. Dezember 2024, 15:06 Uhr

Webseite

https://chocolatey.org

Install

https://chocolatey.org/install
With PowerShell, you must ensure Get-ExecutionPolicy is not Restricted. We suggest using Bypass to bypass the policy to get things installed or AllSigned for quite a bit more security.

Run Get-ExecutionPolicy. If it returns Restricted, then run Set-ExecutionPolicy AllSigned or Set-ExecutionPolicy Bypass -Scope Process.
Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
choco upgrade chocolatey -f

Install using WinGet

You can install Chocolatey CLI version 2.0.0 and later through WinGet by running

winget install --id chocolatey.chocolatey --source winget

Once installed, use Chocolatey CLI as normal to upgrade.

ChocolateyGUI

https://chocolatey.org/packages/ChocolateyGUI
choco install chocolateygui
choco upgrade chocolateygui
choco uninstall chocolateygui