Choco Install Y
Once you have set up the E2B USB drive for 'SDI_CHOCO', you will be able to pick any Windows 7, 8.1 or 10 install ISO and install Windows + drivers + applications + Windows Updates (Win 8.1/10 only) automatically. A package manager can download, install, remove, or upgrade apps from various. If you wanted install skype, the command would be choco install skype -y.
I have the following packages installed with Chocolatey.
choco list --localonly
One week later the GIMP package updated to 2.9 and the Git package is updated to 1.9.6 on the chocolatey.org website, but other packages are not updated.
Two weeks later I need to run a command in cmd to show the following result:
What is the good way to compose such command? (Or if there is a command option built into Chocolatey itself, what it would be?)
3 Answers
Note: You likely need to do the following commands in an administrative cmd/powershell prompt.
Choco Install Yed
If you have version 0.9.8.33 or below installed:
If you have 0.9.9+ installed:
If you have choco 0.9.9.6+, you can use the outdated
command.
Following that, if you actually want to upgrade - in both versions you can follow with:
Note:-y
will only work with 0.9.8.33+.
Addition from @feventcoder
choco version all
will result you a warning of
DEPRECATION NOTICE - choco version
command is deprecated and will be removed in version 1.0.0. Please use choco upgrade <pgkname> --noop
instead.
So it mean you should learn that it might not support the version
command anymore.
Sure that you need to upgrade your chocolatey version to 0.9.9+ or latest.
By the command choco upgrade chocolatey
Choco Install Python
And then call cup all -y
to install all upgrade to your system.
Choco Install Mongodb
The quickest way if you want to find only the local packages installed is to issue the following command to a DOS prompt:
Or even easier to remember and type:
This avoids unnecessary querying.