14. 10. 2014

Jak používat Chocolatey, pomocníka pro instalaci aplikací

Jak používat Chocolatey, pomocníka pro instalaci aplikací | PC World.cz


Chocolatey install

@powershell -NoProfile -ExecutionPolicy unrestricted -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin

Uninstalling Chocolatey

Should you decide you don't like Chocolatey, you can uninstall it simply by removing the folder (and the environment variable(s) that it creates). Since it is not actually installed on your system, you don't have to worry that it cluttered up your registry (the applications that you installed with Chocolatey or manually, now that's a different story).

Folder:  C:\ProgramData\chocolatey



choco install Firefox  -  install Firefox
choco install javaruntime  -  install Java Runtime (JRE) 7.0.71
choco install flashplayeractivex
choco install flashplayerplugin

choco list -localonly  - lists all packages chocolatey has installed on your local system


Chocolatey Update (cup)

chocolatey update packageName or shortcut with cup packageName


Update all packages to the latest version with cup all

chocolatey update - updates chocolatey to the latest version


Multiple installs

choco install pkg1 pkg2 pkgN


Uninstalls a package


chocolatey uninstall packageName or shortcut with cuninst packageName

Žádné komentáře: