Chocolatey is a software management solution that allows you to manage 100% of your software, anywhere you have Windows, with any endpoint management tool.
This can be easily installed on Powershell with this command:
1 | Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1')) |
After installation you can use the help to see how can be used:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | choco help Chocolatey v1.2.1 This is a listing of all of the different things you can pass to choco. DEPRECATION NOTICE The shims `chocolatey`, `cinst`, `clist`, `cpush`, `cuninst` and `cup` are deprecated. We recommend updating all scripts to use their full command equivalent as these will be removed in v2.0.0 of Chocolatey. Options and Switches -v, --version Version - Prints out the Chocolatey version. Available in 0.9.9+. Commands * apikey - retrieves, saves or deletes an apikey for a particular source * config - Retrieve and configure config file settings * export - exports list of currently installed packages * feature - view and configure choco features * features - view and configure choco features (alias for feature) * find - searches remote or local packages (alias for search) * help - displays top level help information for choco * info - retrieves package information. Shorthand for choco search pkgname --exact --verbose * install - installs packages using configured sources * list - lists remote or local packages * new - creates template files for creating a new Chocolatey package * outdated - retrieves information about packages that are outdated. Similar to upgrade all --noop * pack - packages nuspec, scripts, and other Chocolatey package resources into a nupkg file * pin - suppress upgrades for a package * push - pushes a compiled nupkg to a source * search - searches remote or local packages * setapikey - retrieves, saves or deletes an apikey for a particular source (alias for apikey) * source - view and configure default sources * sources - view and configure default sources (alias for source) * template - get information about installed templates * templates - get information about installed templates (alias for template) * uninstall - uninstalls a package * unpackself - re-installs Chocolatey base files * upgrade - upgrades packages from various sources Please run chocolatey with `choco command -help` for specific help on each command. ... |
If you want to install an software then use these commands:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | choco search ffmpeg Chocolatey v1.2.1 ffmpeg 6.0 [Approved] ffmpeg-shared 6.0 [Approved] Downloads cached for licensed users ffmpeg-full 6.0 [Approved] ffmpeg-batch 2.8.6 [Approved] ffmpeg-batch.install 2.8.6 [Approved] ffmpeg-batch.portable 2.8.6 [Approved] ... choco install ffmpeg Chocolatey v1.2.1 Chocolatey detected you are not running from an elevated command shell (cmd/powershell). You may experience errors - many functions/packages require admin rights. Only advanced users should run choco w/out an elevated shell. When you open the command shell, you should ensure that you do so with "Run as Administrator" selected. If you are attempting to use Chocolatey in a non-administrator setting, you must select a different location other than the default install location. See https://docs.chocolatey.org/en-us/choco/setup#non-administrative-install for details. Do you want to continue?([Y]es/[N]o): Y Installing the following packages: ffmpeg By installing, you accept licenses for the packages. ffmpeg v6.0 already installed. Use --force to reinstall, specify a version to install, or try upgrade. Chocolatey installed 0/1 packages. See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log). Warnings: - ffmpeg - ffmpeg v6.0 already installed. Use --force to reinstall, specify a version to install, or try upgrade. ... |