Често използвани команди в шоколадово Windows пакет мениджър

Chocolatey is a package manager for Windows. Идеален за лесно инсталиране на софтуер и това е зависимости. It makes it much easier to manage software installs in Windows. Не е необходимо да се следват инструкциите за инсталиране на софтуер, тъй като процесът на инсталиране е винаги една и съща за всеки софтуер в шоколадово. Chocolatey also allows multiple software installs with no user intervention required. Chocolatey also updates software to the latest version when they become available.

 

Install Chocolatey in Powershell by copy and pasting the following command

iwr https://chocolatey.org/install.ps1 -UseBasicParsing | iex

 

Get going by using the following commonly used commands

Search for a package with user’s string anywhere in the package name

clist {package name}

пример
clist gimp

 

List packages that starts with specified characters

clist {package name} --id starts-with
 
пример 
clist gim --id starts-with

 

List packages that starts with specified characters and order by popularity

clist {package name} --id-starts-with --order-by-popularity
 
пример
clist gim --id-starts-with --order-by-popularity

Забележка: The search command is an alias for the list command

 

Install package

cinst {package name}

пример
cinst gimp

 

Install particular package version

cinst {package name} --version {version #}

пример
cinst gimp --version 2.8.0

 

Uninstall package

cuninst {package name}

пример
cinst gimp

 

List all installed packages

clist -lo

Update all packages

cup all -y

 
 

Вашият коментар