Release Notes
Release Notes
Chocolatey Release Notes - Open Source
This covers changes for the “chocolatey” and “chocolatey.lib” packages, which are available as FOSS.
NOTE
For commercial editions, please also refer to Licensed Release Notes.
Maintenance and Support contract considerations for Perpetual License customers
Please check out the Maintenance and Support contract considerations for Perpetual License customers section for more information.
Chocolatey Component Package Dependencies
Please check out the Chocolatey Component Package Dependencies section for more information about how each package version relates to the other.
2.4.0 (Nov 12, 2024)
Bug Fixes
- Fix - Update tab completions for compatibility with PowerShell 7.4+ - see #3364.
- Fix - Prevent dependency resolution from unexpectedly downgrading packages - see #3461.
- Fix - Do not install packages if dependencies fail to install - see #3487.
- Fix - Ensure package folders are correctly restored if unexpected failures occur during upgrade - see #3489.
- Fix - Use the user-provided page size when querying repositories - see #3502.
- Fix - Ensure
.arguments
files that cannot be decrypted do not prevent running Chocolatey CLI commands - see #3503. - Fix - Ensure invalid
.arguments
files do not prevent running Chocolatey CLI commands - see #3513.
Deprecated Feature
- Deprecate the
Install-ChocolateyPinnedTaskBarItem
helper function - see #3520.
Documentation
- Update build instructions - see #3467.
- Fixed parameter name typo in the chocolateyInstall template - see #3504.
Improvements
- Rework build process to remove the use of
-unpackself
command - see #3427. - Dependency resolution during install can be slow - see #3451.
- Remove historical folder migration logic from
chocolateysetup.psm1
- see #3501. - Updated the bundled version of 7zip to 24.08 - see #3505.
- Provide better information through the user agent when querying remote repositories - see #3526.
2.3.0 (June 5, 2024)
Deprecated Feature
- Deprecate
unpackself
command - see #3426.
Features
- Save software install location for future use - see #3315.
- Allow viewing package creation validation rules via new
choco rule
command - see #3381.
Bug Fixes
- Fix - Ensure
Install-ChocolateyInstallPackage
does not add a trailing space to silent arguments - see #2345. - Fix - Prevent creation of Tools folder via the MSI installer #3307.
- Fix - Ensure
Install-ChocolateyPath
adds a new entry to the PATH when part of it is already there - see #3318. - Fix - Using
Install-ChocolateyPath -PathType Machine
in a non-admin context spawns PowerShell endlessly and never completes - see #3424.
Improvements
- Allow all packages from a source to be installed - see #23.
- Allow the ability to add the configured sources when using the
--source
option - see #72. - Add
Uninstall-ChocolateyPath
function to manage removing entries from PATH - see #310. - Verify the checksum of a package before installation, and fail if not matched - see #1144.
- Show remembered arguments for packages - see #1310.
- Add the source URL where the package was downloaded from, to the output of the
choco install
andchoco upgrade
commands - see #1485. choco apikey
- Exit 2 if nothing to do (enhanced exit code) - see #1759.choco config
- Exit 2 if nothing to do (enhanced exit code) - see #1760.choco feature
- Exit 2 if nothing to do (enhanced exit code) - see #1761.choco pin
- Exit 2 if nothing to do (enhanced exit code) - see #1762.choco source
- Exit 2 if nothing to do (enhanced exit code) - see #1764.choco upgrade
- Exit 2 if nothing to do (enhanced exit code) - see #2200.- Allow upgrading a pinned package without removing the pin beforehand - see #2050.
- Update
OS_NAME
environment variable to support Windows 11 and Server 2019/2022 - see #2754. - Rerunning Install Script after reboot should not be necessary - see #3327.
- Improve package dependency lookup when an exact version is defined - see #3433.
Documentation
- Clarify what
--include-programs
option does, in the help output - see #147. - Fix grammar in the pending reboot warning message - see #3164.
- Improve the feature
DisableCompatibilityChecks
help description - see #3296. - Fix typos and punctuation in
choco feature
andchoco config
error output - see #3324. - Clarify
Proxy BypassList
value must be a regular expression, in the help output - see #3401. - Remove reference of unused
zip.sh
from README.md file - see #3402.
2.2.2 (August 8, 2023)
WARNING
There is a bug in Chocolatey CLI v2.2.0 that prevents upgrading if you have a package dependency that only has pre-release versions (or if the package is no longer available on the sources that you have available). If you receive the error
Object reference not set to an instance of an object
please uninstall the package that only has pre-release versions available (or which no longer exists on the sources you have available), upgrade Chocolatey CLI, and re-install the package that was uninstalled.This bug has been fixed in this release of Chocolatey CLI.
:choco-warning: WARNING
Refer to our Upgrade Guide for recommendations before upgrading from 1.x versions to 2.x.
Bug Fix
- Fix - Unable to upgrade a package if a dependency only contains pre-release package versions, or if package no longer exists on available sources - see #3292.
2.2.1 (August 3, 2023)
WARNING
Chocolatey CLI 2.2.1 was removed from public availability due to a bug identified just prior to the release.
WARNING
Refer to our Upgrade Guide for recommendations before upgrading from 1.x versions to 2.x.
Bug Fixes
- Fix - Can’t find
choco.exe
after upgrading Chocolatey CLI using the MSI - see #3286. - Fix - Unable to do non-elevated operations when
cachelocation
is set to a restricted directory - see #3291.
Dependency Change
- Update bundled 7zip executables to v23.01 - see #3285.
2.2.0 (July 26, 2023)
WARNING
Refer to our Upgrade Guide for recommendations before upgrading from 1.x versions to 2.x.
Bug Fixes
- Fix - Upgrading from Chocolatey CLI v2.0.0 to v2.1.0 take a long time to complete when certain other packages are installed - see #3237.
- Fix - Chocolatey CLI v2.0.0 prompts for credentials when authenticating to a source that is using Windows Authentication - see #3242.
- Fix - Chocolatey CLI is unable to save HTTP Cache files when running as a non-admin user and the
cachelocation
is set to point at the Chocolatey CLI ProgramData folder - see #3264.
Improvements
- Remove warning message about “smarter than the average bear” - see #3186.
- Improve overall execution time when performing the
choco upgrade all
command - see #3231. - Expand logging around the exception that is thrown when Chocolatey CLI is unable to communicate with a source - see #3258.
- Ensure that only Administrators are able to modify files that are stored within the ChocolateyHttpCache folder - see #3281.
Documentation
- Apply scripting best practices to output which is shown from some Chocolatey CLI validations - see #3238.
- Improve error message that is shown when defaultPushSource configuration value hasn’t been set and no explicit source has been provided - see #3280.
2.1.0 (June 29, 2023)
WARNING
Refer to our Upgrade Guide for recommendations before upgrading from 1.x versions to 2.x.
Bug Fixes
- Fix - Warning about threshold not shown for multiple sources - see #3190.
- Fix - System proxy settings (automatically detect settings) are no longer used in v2.0.0 - see #3181.
- Fix - Incorrect implementation of the
RuleIdEqualityComparer.Equals
method - see #3182. - Fix -
choco pin remove -n packagename
removes pin for a different package - see #3196. - Fix - Package version normalization is not being applied everywhere - see #3174.
- Fix - Chocolatey CLI tries to load the licensed environment settings when the licensed extension assembly is not supposed to be loaded - see #3224.
- Fix - Initial chocolatey.config configuration file is initialized with empty descriptions - see #3201.
- Fix - Chocolatey CLI does not use the
cachelocation
which is configured within the chocolatey.config file - see #3225. - Fix - Checking for presence of Chocolatey license file in tab expansion PowerShell script generates
$error
- see #3218.
Improvements
- Create PowerShell helper function to read config values - see #2854.
- Add command to allow purging of cached HTTP queries - see #3194.
- Provide option for Chocolatey CLI commands to skip cached query results - see #3193.
- Degraded performance after upgrading to version Chocolatey CLI v2.0.0 - see #3183.
choco search
command does not use previously cached results - see #3125.
Documentation
- Update contributing documentation to be clearer for newcomers - see #3108.
2.1.0-alpha-20230614 (June 14, 2023)
WARNING
This is a pre-release version of Chocolatey CLI and it is NOT suitable for production use! A pre-release version will have bugs that could have a detrimental impact to your environment. Ensure all necessary due diligence steps are taken before using in your environment.
WARNING
This pre-release version of Chocolatey CLI only works with the alpha version of the Chocolatey Licensed Extension.
NOTE
The issue that was introduced in the previous alpha release regarding the open ended search query has been addressed in this alpha release.
NOTE
Before installing this prerelease version, we would recommend that you read through the Upgrade Instructions for moving to the major version of Chocolatey CLI.
Bug Fixes
- Fix - Warning about threshold not shown for multiple sources - see #3190.
- Fix - System proxy settings (automatically detect settings) are no longer used in v2.0.0 - see #3181.
- Fix - Incorrect implementation of the
RuleIdEqualityComparer.Equals
method - see #3182.
Documentation
- Update contributing documentation to be clearer for newcomers - see #3108.
2.1.0-alpha-20230608 (June 8, 2023)
WARNING
This is a pre-release version of Chocolatey CLI and it is NOT suitable for production use! A pre-release version will have bugs that could have a detrimental impact to your environment. Ensure all necessary due diligence steps are taken before using in your environment.
WARNING
This pre-release version of Chocolatey CLI only works with the alpha version of the Chocolatey Licensed Extension.
Known Issues
There is a known issue when attempting to do an open ended search query where the Chocolatey Licensed feed is in place. For example, if you run the command choco search --source chocolatey.licensed
you will get the following error message returned:
The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.
A fix has been found for this problem, and will be released in a future alpha release.
Bug Fixes
- Fix -
choco pin remove -n packagename
removes pin for a different package - see #3196. - Fix - Package version normalization is not being applied everywhere - see #3174.
Improvements
- Degraded performance after upgrading to version Chocolatey CLI v2.0.0 - see #3183.
choco search
command does not use previously cached results - see #3125.
2.0.0 (May 31, 2023)
WARNING
Refer to our Upgrade Guide for recommendations before upgrading from 1.x versions to 2.0.0.
Breaking Changes
- Change behavior of
choco list
to be local only - see #158. - Prevent usage of leading 0 in package version numbers - see #1174.
choco config list --limit-output
does not limit output as expected - see #2013.- Remove
Get-BinRoot
Chocolatey helper function - see #2623. - Remove the default push location when uploading/pushing packages - see #2629.
- Remove deprecated configurations from Config - see #2630.
- Remove deprecated Chocolatey shims (chocolatey, cinst, clist, cpush, cuninst, cup) - see #2642.
- Upgrade to target version 4.8 of the .NET Framework - see #2738.
- Fix spelling mistake in the
extract_binary_file_from_assembly
function - see #2776. - Remove side-by-side installs - see #2788.
- Migrate from Rx-* packages to System.Reactive.* packages - see #2896.
- Switch to use only the recommended TLS versions without fallback to earlier insecure options - see #2902.
- Rename or migrate away from custom HashCode class - see #2909.
- Remove WebPI alternative source - see #2980.
- Remove the
--remove
option inapikey
command and replace withremove
subcommand - see #2984. choco config list
should only include information about config - see #2986.- Disallow passing in a path to a NUPKG file directly when installing/upgrading packages - see #3008.
- Introduce upper limit when querying for packages and warn when threshold is close to being hit - see #3014.
Bug Fixes
- Fix - NuGet does not deal with blocking version conflicts from existing installed packages - see #116.
- Fix - NuGet doesn’t handle conflicts of versions in an install request when HighestVersion dependency - see #507.
- Fix - Push command does not honor proxy settings - see #1271.
- Fix - Filenames that contain apostrophes aren’t handled correctly when calculating checksums - see #1590.
- Fix - Chocolatey CLI does not override NuGet proxy with its own - see #1720.
- Fix -
choco pack
command fails with error on Linux when using file greater than 2 GB - see #2278. - Fix -
choco info
command with no package id defined returns 0 packages found rather than provide a warning - see #2899.
Documentation
- Fix broken URLs in repository README file - see #2888.
- Update Minimum Windows Server OS to Server 2008 R2 - see #2903.
- Update package files to reflect current Chocolatey Community Repository moderation requirements - see #2920.
- Fix typos and spelling errors - see #2990.
Improvements
- Ability to specify a default source when doing
choco push
- see #62. - Upgrade to target version 3.1.0 of Chocolatey.NuGet.Client assemblies - see #508.
- Support Semantic Versioning 2.0.0 (semver) - see #1610.
choco info
command doesn’t show package URL - see #1728.- Ensure that the client version used when querying a repository is the version of the underlying NuGet.Client library - see #1935.
- Alphabetically sort the output from the
feature
config
source
andapikey
list command - see #2814. - Add ability to get status of an individual feature (
choco feature get
) - see #2815. - Provide ability to navigate directly to online version of help documentation for a command - see #2867.
- PowerShell tab completion should only show commands/options for currently installed license - see #2887.
- Adjust visibility / remove non-interface public methods on CygwinService - see #3028.
- MSI Build should be present in this repository - see #3061.
- Chocolatey products should no longer warn about possible errors when upgrading from versions before 1.0.0 - see #3097.
- Sort list of installed/upgraded packages - see #3112.
1.4.0 (May 10, 2023)
Bug Fix
- Fix - When no hook scripts are installed you cannot install/upgrade a package on a system using PowerShell 2 - see #3088.
Improvement
- Ensure the most recent version of Chocolatey-NuGet.Core package is being used - see #3150.
2.0.0-beta-20230426 (April 26, 2023)
WARNING
This is a pre-release version of Chocolatey CLI and it is NOT suitable for production use! A pre-release version will have bugs that could have a detrimental impact to your environment. Ensure all necessary due diligence steps are taken before using in your environment.
WARNING
This pre-release version of Chocolatey CLI only works with the beta version of the Chocolatey Licensed Extension.
NOTE
If you run into any problems when using this beta version of Chocolatey CLI we would ask that you comment on this discussion, which is where we will be collating issues, and providing workarounds, etc. We will not be accepting issues raised against this beta release.
Known Issues
See this list for known issues with this pre-release.
Breaking Change
- Switch to use only the recommended TLS versions without fallback to earlier insecure options - see #2902.
Bug Fixes
- Fix -
choco info
command with no package id defined returns 0 packages found rather than provide a warning - see #2899. - Fix - Chocolatey CLI does not override NuGet proxy with its own - see #1720.
- Fix - Ensure that correct
count
query is used when querying oData feeds.
Improvements
- PowerShell tab completion should only show commands/options for currently installed license - see #2887.
- Alphabetically sort the output from the
feature
config
source
andapikey
list command - see #2814. - Add explicit handling for
choco list -li
to provide backwards compatibility - related to #158. - Add ability to get status of an individual feature (
choco feature get
) - see #2815. - Ensure that the client version used when querying a repository is the version of the underlying NuGet.Client library - see #1935.
2.0.0-beta-20230412 (April 12, 2023)
WARNING
This is a pre-release version of Chocolatey CLI and it is NOT suitable for production use! A pre-release version will have bugs that could have a detrimental impact to your environment. Ensure all necessary due diligence steps are taken before using in your environment.
WARNING
This pre-release version of Chocolatey CLI only works with the beta version of the Chocolatey Licensed Extension.
NOTE
If you run into any problems when using this beta version of Chocolatey CLI we would ask that you comment on this discussion, which is where we will be collating issues, and providing workarounds, etc. We will not be accepting issues raised against this beta release.
Known Issues
See this list for known issues with this pre-release.
Bug Fixes
- Fix - Chocolatey CLI does not override NuGet proxy with its own - see #1720.
- Fix - When no hook scripts are installed you cannot install/upgrade a package on a system using PowerShell 2 - see #3088.
- Fix - Prevent install/upgrade failure when using multiple sources and one or more of them cannot be reached.
Improvements
- Chocolatey products should no longer warn about possible errors when upgrading from versions before 1.0.0 - see #3097.
- All the different ways that a proxy can be configured (environment variables, chocolatey.config file, command arguments) have been tested and verified to work as expected.
2.0.0-beta-20230321 (March 21, 2023)
WARNING
This is a pre-release version of Chocolatey CLI and it is NOT suitable for production use! A pre-release version will have bugs that could have a detrimental impact to your environment. Ensure all necessary due diligence steps are taken before using in your environment.
WARNING
This pre-release version of Chocolatey CLI only works with the beta version of the Chocolatey Licensed Extension.
NOTE
If you run into any problems when using this beta version of Chocolatey CLI we would ask that you comment on this discussion, which is where we will be collating issues, and providing workarounds, etc. We will not be accepting issues raised against this beta release.
Known Issues
See this list for known issues with this pre-release.
Breaking Changes
In addition to the breaking changes listed in the previous alpha release below, the following changes have been made:
choco config list
should only include information about config - see #2986.- Remove the
--remove
option inchoco apikey
command and replace withremove
subcommand - see #2984. - Remove WebPI alternative source - see #2980.
- Rename or migrate away from custom HashCode class - see #2909.
- Migrate from Rx-* packages to System.Reactive.* packages - see #2896.
- Remove side-by-side installs - see #2788.
- Fix spelling mistake in the extract_binary_file_from_assembly function - see #2776.
- Remove deprecated Chocolatey shims (
chocolatey
,cinst
,clist
,cpush
,cuninst
,cup
) - see #2642. - Remove deprecated configurations from Config - see #2630.
- Remove the default push location when uploading/pushing packages - see #2629.
- Remove
Get-BinRoot
Chocolatey helper function - see #2623. choco config list --limit-output
does not limit output as expected - see #2013.- Change default behavior of
choco list
to be local only - see #158.
Improvements
- Ability to specify a default source when doing
choco push
- see #62. - Remove re-instated Chocolatey commands which were added in v1.0.1 - see #2678.
1.3.1 (March 14, 2023)
Bug Fix
- Fix -
chocolateyBeforeModify.ps1
does not get called for dependent packages - see #1092.
2.0.0-alpha-20230307 (March 7, 2023)
WARNING
This is a pre-release version of Chocolatey CLI and it is NOT suitable for production use! A pre-release version will have bugs that could have a detrimental impact to your environment. Ensure all necessary due diligence steps are taken before using in your environment.
WARNING
This pre-release version of Chocolatey CLI only works with the alpha version of the Chocolatey Licensed Extension.
NOTE
If you run into any problems when using this alpha version of Chocolatey CLI we would ask that you comment on this discussion, which is where we will be collating issues, and providing workarounds, etc. We will not be accepting issues raised against this alpha release.
Known Issues
See this list for known issues with this pre-release.
Bug Fixes
- Fix - Fix
choco search
command that was providing invalid results when using the--version
option. - Fix - Fix dependency resolution problems during execution of
choco upgrade
andchoco install
.
Improvements
- Add back support for the
--disable-repository-optimizations
option which was missing in previous alpha releases. - Improvements made to warnings that are emitted when a dependency fails to be resolved during a
choco upgrade
orchoco install
.
2.0.0-alpha-20230221 (February 21, 2023)
WARNING
This is a pre-release version of Chocolatey CLI and it is NOT suitable for production use! A pre-release version will have bugs that could have a detrimental impact to your environment. Ensure all necessary due diligence steps are taken before using in your environment.
WARNING
This pre-release version of Chocolatey CLI only works with the alpha version of the Chocolatey Licensed Extension.
NOTE
If you run into any problems when using this alpha version of Chocolatey CLI we would ask that you comment on this discussion, which is where we will be collating issues, and providing workarounds, etc. We will not be accepting issues raised against this alpha release.
Known Issues
See this list for known issues with this pre-release.
Breaking Changes
In addition to the breaking changes listed in the previous alpha release below, the following changes have been made:
- Introduce upper limit when querying for packages and warn when threshold is close to being hit - see 3014.
- Disallow passing in a path to a NUPKG file directly when installing/upgrading packages - see 3008.
Improvement
- Add back validation messages after upgrade to NuGet v3+ - see 3000.
Documentation
- Fix typos and spelling errors - see 2990.
1.3.0 (February 15, 2023)
Deprecated Features
- Deprecate WebPI alternative source - see #2958.
- Deprecate usage of direct path to nupkg or nuspec in
choco install
command - see #2981. - Deprecate the
--remove
option in the apikey command - see #2983. - Deprecate
choco config list
including output from features/sources/apikeys etc - see #2985. - Deprecate unnecessary public methods on CygwinService - see #3026.
Bug Fixes
- Fix - File not found error when using
--source=cygwin
to install packages - see #2953.
2.0.0-alpha-20230124 (January 24, 2023)
WARNING
This is a pre-release version of Chocolatey CLI and it is NOT suitable for production use! A pre-release version will have bugs that could have a detrimental impact to your environment. Ensure all necessary due diligence steps are taken before using in your environment.
WARNING
This pre-release version of Chocolatey CLI does NOT work with the Chocolatey Licensed Extension. It will actually prevent the loading of the Chocolatey Licensed Extension if it is installed.
NOTE
If you run into any problems when using this alpha version of Chocolatey CLI we would ask that you comment on this discussion, which is where we will be collating issues, and providing workarounds, etc. We will not be accepting issues raised against this alpha release.
Known Issues
See this list for known issues with this pre-release.
Breaking Changes
- Upgrade to target version 4.8 of the .NET Framework - see #2738.
- Prevent usage of leading 0 in package version numbers - see #1174.
Bugs
- Fix -
choco pack
command fails with error on Linux when using a file greater than 2 GB - see #2278. - Fix - Filenames that contain apostrophes aren’t handled correctly when calculating checksums - see #1590.
Improvements
- Upgrade to target version 6.4.0 of NuGet.Client assemblies - see #508.
- Support Semantic Versioning 2.0.0 (semver) - see #1610.
Documentation
- Fix broken URLs in repository README file - see #2888.
- Update package files to reflect current CCR moderation requirements - see #2920.
1.2.1 (December 6, 2022)
Bug Fixes
- Fix - Running
choco new --file
returns “Cannot Combine Path” Error when Chocolatey Licensed Extension is installed and other assemblies are present in the extensions folder - see [#2865](https://github.com/chocolatey/choco/isFix - sues/2865) - Fix - Selecting
[A] Yes to all
at package script prompt does not work correctly - see #2872 - Fix - Attempting to upgrade multiple packages at once causes an error to be thrown about configuration backups - see #2884
1.2.0 (October 19, 2022)
NOTE
As part of this release, we have added the functionality to allow officially signed extensions, other than Chocolatey Licensed Extension, to be loaded dynamically. See #2693.
Feature
- Allow post/pre hooks to run on upgrade/install/uninstall - see #1185
Deprecated Features
- Deprecate side-by-side installs - see #2787
Bug Fixes
- Fix - Upgrade all reuses overridden package parameters when useRememberedArgumentsForUpgrades feature is turned on - see #1443
- Fix - Wrong item set for overriding credentials when using remembered arguments during upgrade - see #2752
- Fix - Python alternative source doesn’t create arguments correctly due to spelling mistake - see #2777
- Fix - Directory permissions not set when installed from PowerShell 7.2.5 - see #2789
Improvements
- [Security] Unable to extract files from nupkg when different file name encoding is used - see #2816
- Add cmdlet for acquiring paths set in environment variables that should not be used directly - see #2860
- Add support for the —pin option on the install and upgrade commands - see #798
- Packages.config should include all options (including ignorechecksums) - see #886
- Add option to skip file logging for Zip file extraction in the Get-ChocolateyUnZip and Install-ChocolateyZipPackage cmdlets - see #1332
- List parameters in templates - see #2500
- ChocolateyTabExpansion.ps1 can cause slow auto-complete in PowerShell - see #2556
- Change source type on source runners to be a generic string - see #2791
- Remove trailing semicolon in templates and tests - see #2807
Documentation
1.1.0 (March 30, 2022)
Bug Fixes
- Fix - Python alternate source does not handle
all
keyword correctly - see #2540 - Fix - Incorrect error message is displayed when chocolatey.config becomes corrupt - see #2525
- Fix - When running the
choco outdated
command the wrong exit code is shown when there is a pinned package and the--ignore-pinned
option is being used - see #1896 - Fix - Windows PowerShell incorrectly identifies a PowerShell file that is UTF8 encoded with a BOM as being signed if it is a single newline - see #2663
- Fix - Unable to install Chocolatey using PowerShell Core - see #2083
Improvements
- Support installation checks for incompatible Licensed Extension when running
choco upgrade chocolatey
- see #2659 - Support runtime checks for incompatible Chocolatey CLI and Chocolatey Licensed Extension versions - see #2660
- When triggered, these checks will output a warning and the beginning of the command execution, and at the end of it. To acknowledge these warnings you can
either pass the
--skip-compatibility-checks
option when executing a command, or you can enable theDisableCompatibilityChecks
feature using the following commandchoco feature enable --name="'disableCompatibilityChecks'"
- When triggered, these checks will output a warning and the beginning of the command execution, and at the end of it. To acknowledge these warnings you can
either pass the
- Include the latest version of 7zip (v21.07) within Chocolatey installation - see #2650
Release Video
A short video explaining what is included in this release can be found here:
1.0.1 (March 24, 2022)
Bug Fix
- Fix - When Chocolatey CLI v1.0.0 attempts to load Chocolatey Licensed Extension versions less than v4.0.0, it halts execution with an unclear and unhelpful error message - see #2656
Release Video
A short video explaining what is included in this release can be found here:
1.0.0 (March 21, 2022)
WARNING
If you are using a commercial version of Chocolatey (i.e. you have the chocolatey.extension package installed), you will need to first upgrade to version v4.0.0 of the Chocolatey Licensed Extension.
Breaking Changes
- Remove deprecated Chocolatey commands and shims - see #2468
- Remove deprecated Chocolatey helper functions - see #2469
- Remove the cpack command alias - see #89
- Remove the fallback to using old URL for Chocolatey Community Repository when pushing packages - see #2628
- Remove deprecated -t argument for the push command - see #2627
- Ensure that Chocolatey correctly handles removed features when running the choco feature command - see #2538
Improvements
- Update to use version v1.0.0 of shimgen - see #2602
- Installation of Chocolatey should add a more descriptive comment when adding Chocolatey tab-completion module to profile - see #2443
Documentation
- Update deprecation notice for push command to mention that the default source will be removed in v2.0.0 - see #2634
- Mark Chocolatey shims (chocolatey, cinst, clist, cpush, cuninst, cup) as deprecated - see #2641
- Mark Get-BinRoot Chocolatey helper function as deprecated - see #2470
- Add deprecation notices for all things that are set to change in v2.0.0 - see #2462
- Provide better clarity regarding the license terms for using Chocolatey and shimgen - see #2549, #2615, and 2614
- Document the fact that the Source switch doesn’t do anything when running the command choco list —lo - see #2545
- Update warning that is shown regarding using a trial license of Chocolatey - see #2407
Release Video
A short video explaining what is included in this release can be found here:
0.12.1 (January 25, 2022)
Bug Fixes
- Fix - Installation of Chocolatey fails when running under “AllSigned” execution policy - see #2539
- Fix - Output from “choco template -h” references wrong subcommand in usage statement - see #2546
Release Video
A short video explaining what is included in this release can be found here:
0.12.0 (January 18, 2022)
WARNING
If you use Chocolatey Licensed Extension you will need to install v3.1.0 of Chocolatey Licensed Extension to use all the new functionality that has been added to Chocolatey CLI v0.12.0.
Breaking Change
- Remove ScriptsCheckLastExitCode feature - see #2522
Features
- Add command (choco template) to retrieve information about currently installed package templates - see #449
- Add configuration option for default template name to be used in conjunction with the choco new command - see #2377
Bug Fixes
- Fix - Building a package on Linux fails if the description has encoded xml special character(s) - see #2382
- Fix - Building a package on Linux fails if nuspec does not have files element - see #2379
- Fix - choco pack command fails on non-Windows when the nupkg already exists - see #2076
- Fix - Install location is invalid on Linux if the ChocolateyInstall environment variable is not set - see #2370
- Fix - During upgrade, removal of old choco.exe does not use absolute path on Linux - see #2369
- Fix - Attempting to use ProtectedData.Protect with LocalMachine scope fails when run on non-Windows system as a non-root user - see #2437
- Fix - Chocolatey packaging script (chocolateyBeforeModify.ps1) incorrectly running on non-Windows platforms - see #2510
- Fix - choco install command ignores install arguments when specifying direct path to nupkg - see #2089
- Fix - Deleting NuGet temp folders fails when running on Linux - see #2383
Improvements
- Warn about unsupported packages when executing Chocolatey on non-Windows platforms - see #2481
- Display install location for purely portable packages - see #2241
- Provide more clarity on errors when attempting to push packages to Chocolatey Community Repository - see #2007
- Support empty directories within Chocolatey template folder - #1003
- Snapshotting of files and config transform has been enabled on non-Windows systems - see #2450
- Prevent usage of alternate Chocolatey installation/upgrade sources on non-Windows systems - see #2424
- Improve response message regarding moderation times when using choco push command - see #2298
Documentation
- Fix outdated bit.ly links in command documentation - see #2401
- Update default template regarding building Chocolatey package on non-Windows systems - see #2384
- Fix version number used in default template - see #2381
Release Video
A short video explaining what is included in this release can be found here:
0.11.3 (October 27, 2021)
Bug Fixes
- Fix - Chocolatey fails to load all PowerShell helper cmdlets when attempting to loads modules - see #2412
- Fix - Chocolateys PowerShell Installer Module uses non PowerShell 2 compatible syntax - see #2398
- Fix - Running Chocolatey CLI with an expired Chocolatey License can result in non-commercial commands failing to run - see #2289
- Fix - Installing from packages.config doesn’t support installing from other sources (e.g. windowsfeatures, python, etc) - see #877
- Fix - Quoted InstallLocation in .registry file results in errors when attempting to automatically uninstall application - see #2336
Release Video
A short video explaining what is included in this release can be found here:
0.11.2 (September 23, 2021)
Bug Fix
- Fix - Setting of Authorization header in Get-WebFile cmdlet does not work - see #2374
Release Video
A short video explaining what is included in this release can be found here:
0.11.1 (September 2nd, 2021)
Bug Fix
- Fix - Chocolatey Licensed Extension is not loaded into PowerShell process when using v0.11.0 - see #2340
Release Video
A short video explaining what is included in this release can be found here:
0.11.0 (September 2nd, 2021)
WARNING
If you use Chocolatey Licensed Extension you will need to install v2.2.0 of Chocolatey Licensed Extension to use all the new functionality that has been added to Chocolatey CLI v0.11.0.
Breaking Changes
- Disable importing / loading of DLL in the extension folder - see #2333
- choco list -e -a returns pre-releases even when —pre is not passed - see #2304
Bug Fixes
- Fix - Prevent creation of empty nuget.config in user appdata folder - see #2233
- Fix - Upgrade all with remembered arguments changes packages to pre-release - see #2111
- Fix - Software applications are being reported as not being managed by Chocolatey when their associated package is installed - see #2092
- Fix - Unable to remove API Key with choco apikey command - see #1889
- Fix - Not all package versions are returned when running running choco list —all-versions —exact - see #1843
- Fix - Upgrade all reuses overridden package parameters when useRememberedArgumentsForUpgrades feature is turned on - see #1443
- Fix - choco pack fails when running on Mono when current directory is not the same one that contains the .nuspec being packed - see #2263
- Fix - Running choco pack on Mono on Linux will not include any files in .nupkg if there is no files element in the .nuspec - see #2258
- Fix - Nuspec files with forward slash creates nested layer of directories when packed on Windows - see #2166
- Fix - Prevent loading of Chocolatey GUI Licensed Extension assembly - see #2078
- Fix - Working directory always being replaced with configured cache location when using Start-ChocolateyProcessAsAdmin - see #2051
- Fix - Temp location can change unexpectedly when using System credentials - see #2044
- Fix - Incorrect output regarding package files when package can’t be found to be downloaded - see #1962
Improvements
- [Security] XML External Entity attack in log4net (CVE-2018-1285) - see #2266
- Provide ability to export all currently installed packages to a packages.config file - see #357
- Provide ability to execute PowerShell script right before installation starts when using Install-ChocolateyPackage - see #1060
- Add ChocolateyExitOnRebootDetected feature setting to environment variables for usage within package scripts - see #1983
- Only search top level package folders when running the remove pending packages task - see #1866
- Change default repository in the chocolatey.config to community.chocolatey.org - see #2231
- Support UnzipLocation as an alias to Destination parameter in the Get-ChocolateyUnzip function - see #2203
- API - Allow Lets.GetChocolatey to not initialize logging - see #2124
- Provide ability to install msp patch files using Install-ChocolateyInstallPackage function - see #2112
- Add ability to use authorization headers in the Get-WebFile function - see #1998
- Ensure nuspec files generated from the choco new command use UTF-8 without a byte order mark - see #1364
- Provide top level help command explaining what commands can be executed - see #944
- Ensure correct path separator in nuspec files is used on different operating systems - see #502
- Remove unused variable in uninstall template generated from choco new command - see #2114
Documentation
- Clarify the SpecificFolder parameter for helper functions - see #2190
- Update deprecation notice to use outdated command when using version command - see #2048
- Include information about —version option in choco help documentation - see #2049
- Fix examples for Install-ChocolateyPackage function - see #1899
- Terminology improvements in choco.exe help output - see #1861
- Wrong error message shown when using Get-ChocolateyWebFile and forcex86 - see #1859
Release Video
A short video explaining what is included in this release can be found here:
0.10.15 (June 3, 2019)
Bug Fix
- Fix - list/search/info - searching with —exact or info results in Object reference not set to an instance of an object - see #1837
0.10.14 (May 30, 2019)
Bug Fixes
- Fix - feature - Turn off Enhanced Exit Codes by Default - see #1784
- Fix - Reboot - Pending File Rename Operations check returns true, even after reboot - see #1768
- Fix - “.registry.bad” files are created for actually valid registry snapshots - see #1581
- Fix - repositories - Azure DevOps NuGet v2 endpoints don’t provide metadata in Packages() queries - fails on “Authors is required.” - see #1771
- Fix - install/upgrade - Chocolatey still fails on failing source repositories - see #1774
- Fix - Chocolatey remembers —forceX86 value with subsequent packages - see #1772
- Fix - Get-ChocolateyUnzip / Start-ChocolateyProcessAsAdmin - can fail running a process when working directory is a UNC path - see #1781
- Fix - Get-UninstallRegistryKey errors when registry keys have bracket characters(
[]
) - see #1788 - Fix - push - Fix exception message “There was an internal server error, which might mean the package already exists on a Simple OData Server” / OutOfMemoryException - see #1786
Improvements
- info/search/list - apply query optimizations when searching by package id - see #1831
- feature - usePackageRepositoryOptimizations to control install/upgrade for repositories that don’t handle the newer optimizations well - optimizations break LaGet / NuGet Simple Server (PHP) / PHPNuget / Gemfury - see #1770
- install/upgrade/uninstall - allow confirming for remaining installs (aka Yes to All) - see #53
- Config: Setting to exempt packages from upgrade all - see #1433
- Support ARM64 Win32 32bit emulation - see #1800
- outdated - Add —pre to outdated command - see #1804
- Update tab completion options - see #1834
0.10.13 - (March 15, 2019)
Bug Fix
- Fix - Licensed - Licensed code failing when using licensed PowerShell functions - see #1767
0.10.12 - (March 14, 2019)
We are pretty excited to finally share a new Chocolatey release! And this release won’t disappoint. Loads of bug fixes, enhanced exit codes for search, list, info and outdated when results are returned versus nothing being returned, and some really nice improvements.
Perhaps the biggest addition this release is the ability to halt installation if a reboot is detected (#1038). Once you turn this feature on, if you are installing some packages and somewhere in the middle of that there is a need for a reboot, Chocolatey will stop and exit with either exit code 350 (pending reboot prior to anything) or 1604 (install incomplete), indicating a reboot is needed to continue. It won’t reboot for you, as it is just a package manager - but it will stop execution so nothing that may error on install is attemtped. You’ll need to opt into this feature, so see #1038 for details.
If you’ve long hated the default console colors, we’ve spent quite a bit of time detecting the background console color and adjusting the colorization output of Chocolatey for this release (#1131). You might give that a whirl and see if you can turn back on console colors for good.
We’ve added the ability to validate the configuration and system state at a global level (#1746). It’s early, but expect that we’ll do a lot more to really provide good experiences in this area.
A bug that is worth noting as fixed is having choco exit when a source fails instead of ignoring it (#612). This is now fixed!
The last thing worth noting in the summary is Enhanced Exit Codes, or providing more intentional exit codes that mean something instead of just 0 or 1 (#1758). In this release, outdated and search commands will have additional exit codes that mean something. This is noted in the next section, so please read over and see how to shut off this behavior if you see it breaking any integration you might be using (including your own scripts).
Breaking Changes
- outdated - Exit 2 when there are packages out of date - see #1602
- search/list/info - Exit 2 when no results are returned - see #1724
We’ve listed these as breaking changes as it may affect tools that are integrating with Chocolatey and interpreting the output of the exit code. In these cases, it would likely temporarily break those tools until they’ve had a chance to release new versions of their tools. If you run into this, you simply need to turn off the feature “useEnhancedExitCodes”. That is as simple as choco feature disable --name="'useEnhancedExitCodes'"
(#1758).
Features
- Exit when reboot is detected - w/350 for pending & w/1604 on dependency package requiring reboot - see #1038
Bug Fixes
- [Security] Fix - upgrade - remove automation scripts prior to upgrade even if changed - see #1689
- [Security] Fix - scripts - Digitally sign the init.ps1 PowerShell file as well - see #1665
- Fix - When a source fails, choco exits instead of moving to next source - see #612
- Fix - Upgrade all reuses overridden package parameters when useRememberedArgumentsForUpgrades feature is turned on - see #1443
- Fix - Passing
--execution-timeout=0
doesn’t override the default execution timeout in the configuration - see #1747 - Fix - ChocolateyLastPathUpdate environment variable stores date as locale-specific - see #1604
- [POSH Host] Fix - install/upgrade/uninstall - PowerShell host should exit with 1 instead of -1 if there is a package error - see #1734
- Fix - Logging - warnings for “.registry.bad.” files are emitted with “-r” switch - see #1580
- Fix - Logging - “.registry.bad” files are created for actually valid registry snapshots - see #1581
- Fix - list/search - Listing local packages fails if no sources are enabled - see #661
- Fix - uninstall - Object reference exception when there are no sources - see #1584
- Fix - Logging - self-service errors attempting to write to the config when using Chocolatey GUI - see #1649
- Fix - source list - running with -r fails to escape pipe (|) char - see #1614
- Fix - source add - Adding a source allows an empty url - see #1582
- Fix - Get-ChocolateyWebFile - Ensure PSVersionTable is used for PowerShell Version - see #1623
- Fix - Install-ChocolateyShortcut - Don’t create a folder if environment variable is used - see #1687
- Fix -
choco --version
includes warnings, breaks version parsing - see #1562 - Fix - Uninstall-ChocolateyZipPackage failing with Path error - see #1550
- Fix - Uninstall-ChocolateyZipPackage fails from null passed to Test-Path - see #1546
- Fix - Get-ChocolateyUnzip - Ensure 7z cmd window is hidden - see #1642
- [API] Fix - Resolve assemblies globally without locking - see #1735
Improvements
- [Security] tools - Update 7z to 18.06 - see #1704
- [Security] Refreshenv script leaves temporary file behind - see #1549
- Control enhanced exit codes with a feature switch - see #1758
- Logging - better default colors - see #1131
- Validate config / system state across everything - see #1746
- upgrade - switch for not installing if not installed - see #1646
- outdated - improve performance of
choco outdated
- see #1397 - search/list - Add alias “find” for search - see #1744
- apikey - Enable removal of API key via CLI - see #1301
- Logging - Choco —log-file option should create log files relative to current directory - see #1603
- Logging - Don’t suggest installing separate “checksum” tool - see #981
- template - Add notes to uninstaller file string on how to correctly parse the value from the registry - see #1644
- Pro/Business - license - If license is found in top-level folder or named wrong, choco should warn - see #1503
- [API] Allow verifying DI Container in release build - see #1738
- [API] ability to get consistent hash of ConfigFileSettings class - see #1612
0.10.11 (May 4, 2018)
Bug Fixes
- Fix - AutoUninstaller - Captures registry snapshot escaping quotes - unable to find path for uninstall - see #1540
- Fix - Installation/Setup - Use of Write-Host in Install-ChocolateyPath.ps1 prevents non-interactive installation of Chocolatey itself - see #1560
- Fix - Logging - GUID in software name: “Chocolatey had an error formatting string” - see #1543
Improvements
- [Security] RAR Extraction with older 7zip uses uninitialized memory (CVE-2018-10115) - see #1557
- Tab Completion - Modify profile if file exists but is empty - see #991
0.10.10 (April 12, 2018)
Bug Fixes
- Fix - Installing Chocolatey 0.10.9 results in an exit code of 1 - see #1529
- Fix - Proxy bypass list with ”*” will return regex quantifier parsing errors - see #1532
- Fix - NuGet cache folders - choco should always attempt to remove and should find in the cacheLocation when set - see #1527
Improvement
- Logging - Exclusive File Lock on Non-Essential Logs - see #1531
0.10.9 (March 25, 2018)
The vendored 7Zip had a couple of security findings that necessitated a release. There is also a lot of goodness going into this release as well. We’ve fixed XDT transforms not to keep extra data around (requiring manual fixes). We’ve resolved some issues surrounding compatibility with Get-PackageParameters in the chocolatey-core.extension package and what’s now built into Chocolatey. That should now work appropriately, and the built-in method should be preferred, so if you are using --package-parameters-sensitive
, those will be added as well when you do have the chocolatey-core.extension package also installed.
We’ve also brought in the long desired logging with no colorization. You can set that as a switch or globally with a feature flipper. With outdated/upgrade, you can now ignore unfound packages along with already skipping pinned packages. That will help you reduce your output to only the things it finds upgrades for that can be upgraded.
Bug Fixes
- [Security] Fix - Pro/Business - Logging - Get-PackageParameters should not log sensitive params - see #1460
- Fix - XDT transform causes xml file to have extra data in it (unusable until manually fixed) - see #1482
- Fix - Escape package registry information to reduce unreadable files - see #1505
- Fix - Uninstall-ChocolateyZipPackage is unable to find zip contents file - see #1415
- Fix - Get-PackageParameters - Resolve differences between chocolatey.core-extension and built-in method - see #1490
- Fix - Get-PackageParameters - force built-in method to be preferred over chocolatey-core.extension method - see #1476
- Fix - Get-PackageParameters should handle urls - see #1459
- Fix - Setting output directory with proper quoting can result in “The given path’s format is not supported.” - see #1517
- Fix - Logging - PowerShell script contents logging should not error if they have contents mistaken for log formatting - see #1489
- Fix - Incorrect documentation for Install-ChocolateyInstallPackage - see #1416
- [API] Fix - Logging - Loggers should always be checked for initialization - see #1447
- Fix - Pro/Business - Expired licenses should not cause Chocolatey errors - see #1500
Improvements
- [Security] RAR extraction with older 7zip can cause memory corruption (CVE-2018-5996) / ZIP Shrink vulnerability (CVE-2017-17969) - see #1478
- Provide friendly error messages on well-known exit codes - see #1526
- Capture password securely during validation when only the user name has been provided - see #1524
- Outdated/Upgrade - Option/feature to ignore unfound packages - see #1398
- Installation/Setup: run choco once to initialize the config file - see #1401
- Logging - Log access denied for config file to log file only - see #1445
- Ability to pick x64/x86 runtime binaries for shimming by architecture without needing PowerShell scripts - see #1365
- Logging - Add ‘—no-color’ as a global option and ‘logWithoutColor’ feature - see #100
- Reset colors after abnormal exit - see #474
- [API] Logging - Set logging levels debug/verbose/trace - see #1448
- [API] Logging - Sync already logged items when setting custom logging - see #1446
- [API] Fix - Ensure one instantiation of GetChocolatey at a time - see #1400
- Pro/Business - Uninstall - Keep stored package information by default - see #1399
- Pro/Business - Logging - See licensing logging output - see #1488
0.10.8 (August 30, 2017)
With this release, Package Parameters are fully supported from both the user side and the packaging side. Check out the documentation and check out the walkthrough on how to use package parameters in your packaging. Note if you are pushing packages to the community repository, you must continue to take a dependency on the chocolatey-core.extension
as a polyfill for older versions until at least six months after a new feature is released.
What you can do with logging has greatly increased your ability to have more power over how it works and deeper output to determine errors (we’ve expanded --trace
#1379). This release also gives packagers and users more power when working with the AutoUninstaller - opt-out (#1257) and passing arguments to the uninstaller (#1133).
Another noteworthy addition is the ability to pass custom properties to Choco like you would do with nuget pack
, allowing better integration with packages you manage in Visual Studio (#1313).
Feature
- Function - Get-PackageParameters - see #1393
Bug Fixes
- Fix - “Value cannot be null” running choco outdated - see #1383
- Fix - Package parameters are ignored on when install directly points to nupkg/nuspec - see #1155
- Fix - Logging - log4net Logger location (the code location logging) is incorrect - see #1377
- [API] Fix - GetConfiguration() sets the configuration for other calls - see #1347
- [API] Fix - Pro/Business - Self-Service information not returned for sources - see #1394
- [API] Fix - Config output is being set to Regular Output - see #1396
Improvements
- [Security][POSH Host] Implement Read-Host -AsSecureString- see #1335
- AutoUninstaller - Opt-out from packages - see #1257
- AutoUninstaller - Use Uninstall Arguments and Override Arguments if provided - see #1133
- pack - Pass arbitrary properties like nuget pack - see #1313
- list - Sub-command should not require admin access (and not prompt) - see #1353
- new - Package Templates - Do not treat binaries in template as text files - see #1385
- new - Package Templates - Add more helpful items, like a todo list to the default template - see #1386
- Document how to pass multiple sources on CLI - see #1331
- Logging - Trace output should provide deep logging information - see #1379
- Logging - Allow external log4net config file - see #1378
- Logging - Allow capturing output to an additional log file - see #1376
- [API] Make log4net dependency less restrictive - see #1395
- Pro/Business - source/list - Support for Admin Only Sources - Limit non-admin list to self service only - see #1265
0.10.7 (June 8, 2017)
Breaking Change
-
Set requested execution level back to asInvoker while determining more advanced elevated scenarios - see #1324
After much deliberation with the community, we’re moving execution policy back to the default of
asInvoker
to make it work like it did prior to 0.10.4. However we are leaving it open for you to change it to whatever execution level you want by keeping the manifest external from choco.exe. We will be looking more at advanced scenarios - the discussion is at #1307. If you don’t have a GitHub account, feel free to start a thread on the mailing list (and if you are a customer, you have private channels to voice your opinions on this change).Moving to “asInvoker” means that Chocolatey will not ask for elevated privileges prior to execution, so you will need to remember to do that yourself. If you go to
$env:ChocolateyInstall
, you will findchoco.exe.manifest
, and you have freedom to adjust the execution level as you see fit. There is one catch, you will need to do it on every install/upgrade of Chocolatey until #1206 is implemented.
Bug Fixes
- Fix - Add file/file64 not as aliases, but use them to set url/url64 if empty - see #1323
- Fix - Automatic Uninstaller doesn’t split multiple paths - see #1327
- Fix - choco list / search / info - fails with local directory source - see #1325
- Fix - When version is four digits, Chocolatey version heading is not shown - see #1326
- Fix - search / list - page/page-size not honored for exact search in 0.10.6 - see #1322
- Fix - Deserializing failures on package info files should not fail the choco run - see #1328
Improvements
- Use
$packageArgs
in default template for uninstall script - see #1330
0.10.6.1 (June 3, 2017)
Bug Fixes
- Fix - shimgen fails with unrecognized option: ‘/errorendlocation’ in .NET 4.0 only environments - see #1321
- Fix - Do not fail extracting resources at runtime - see #1318
- Fix - Silently fail when deleting choco.exe.old - see #1319
0.10.6 (June 1, 2017)
This release includes fixes and adjustments to the API to make it more usable. Search / List has also been improved with the data that it returns when verbose/detailed, along with info always returning a package with information instead of erroring sometimes. The search results from the community package repository now match what you see on the website.
Bug Fixes
- Fix - choco.exe.manifest is ignored because it is extracted AFTER first choco.exe access - see #1292
- Fix - Chocolatey config changes in 0.10.4+ - The process cannot access the file because it is being used by another process - see #1241
- Fix - PowerShell sees authenticode hash as changed in scripts that are UTF8 (w/out BOM) that contain unicode characters - see #1225
- Fix - Chocolatey timed out immediately when execution timeout was infinite (0) - see #1224
- Fix - Multiple authenticated sources with same base url fail when authentication is different - see #1248
- Fix - choco list / search / info - Some packages can’t be found - see #1004
- Fix - chocolatey.config gets corrupted when multiple processes access simultaneously - see #1258
- Fix - Update ShimGen to 0.8.x to address some issues - see #1243
- Fix - AutoUninstaller should skip uninstall keys if they are empty - see #1315
- Fix - Trace logging should only occur on when trace is enabled - see #1309
- Fix - RefreshEnv.cmd doesn’t set the correct PATH - see #1227
- Fix - choco new generates uninstall template with wrong use of registry key variable - see #1304
- [API] Fix- chocolatey.lib nuget package has incorrect documentation xml - see #1247
- [API] Fix - Chocolatey file cache still adds a ‘chocolatey’ directory on each install - see #1231
- [API] Fix - List and Count should implement similar functionality as run - see #1298
- Pro/Business - [API] Fix - Ensure DLL can work with licensed code - see #1287
Improvements
- Default package push url now uses push subdomain - see #1285
- Report process id in the log files - see #1239
- choco info / list / search - Include summary on detailed view - see #1253
- choco info / list /search - Include release notes on detailed view - see #1263
- choco list / search - Option to list packages only by name - see #1237
- choco list / search - Allow sorting package results by relevance - see #1101
- choco list / search - Search by tags only - see #1033
- choco outdated - Option to leave out pinned packages - see #994
- Install-ChocolateyPackage and other functions should alias File/File64 - see #1284
- Install-ChocolateyPowerShellCommand should alias File/FileFullPath for PsFileFullPath - see #1311
- Logging - capture more information about a user (user name, domain, remote?, system?) - see #615
- Stop saying “0 packages failed.” - see #1259
- [API] provide a way to see ChocolateyConfiguration - see #1267
- [API] Attempt to get ChocolateyInstall environment variable prior to extraction - see #1297
- [API] Expose Container directly - see #1294
- Pro/Business - Support for Package Audit (who installed packages) - see #1238
- Pro/Business - [API] Ensure configuration retains base info between uses - see #1296
0.10.5 (March 30, 2017)
Bug Fix
- Fix - Start-ChocolateyProcessAsAdmin errors when running PowerShell scripts - see #1220
Improvement
- Show machine readable output with
choco outdated -r
- see #1222
0.10.4 (March 30, 2017)
We’re dubbing this the “10-4 good buddy” release. We’ve added some major functionality and fixes we think you are going to find top notch - dare we say as smooth as really expensive chocolate? A lot of work for this release has been provided by the community. Remember that Chocolatey is only as good as the support that comes from the community! Be sure to thank other community members for the awesome that is Chocolatey and Chocolatey 10-4. We’ve closed over 30 bugs and added over 40 enhancements (75 tickets in total)!
Proxy support just got some major enhancements with the ability to not only specify proxy information at runtime, but also to set bypass lists and bypassing on local connections and configure source repositories to bypass proxies. A major issue with changing command execution timeout was just fixed. And there used to be a tiny chance you might corrupt the choco config when running multiple choco processes -but now that is much better handled.
We’ve also made package itself display download progress, which is great when software binaries are embedded in packages. For you folks looking to remove any progress (like when using Vagrant), now you can use --no-progress
. When NuGet.Core has issues, those issues will have more visibility into why things are failing without needing a debugging log. Speaking of some extreme visibility, see network traffic with --trace
.
We’ve got a few possible breaking changes that could affect you, see what we’ve written about them below.
This also marks the first release that uses the Chocolatey Software digital certificate for signing instead of the RealDimensions Software, LLC certificate.
Another major feature released in preview is using remembered arguments on upgrade. This is in preview in 0.10.4 and will be turned to ‘on’ automatically in a future release. We are going to be continually making it better and won’t turn it on by default until it is ready. If you want to turn it on and start using it, once you have 0.10.4 installed, run choco feature enable --name useRememberedArgumentsForUpgrades
. You can also do this per command with --use-remembered-arguments
. You can also turn it off per command with --ignore-remembered-arguments
. We’ve also really described a lot of important considerations and thoughts related to using this so there are no surprises. Please do read the issue notes at length if you plan to use this feature to reduce confusion.
Breaking Changes
-
Run with highestAvailable Execution Level by default - see #1054
One longstanding request with Chocolatey was to have it always request admin privileges before running. This has been a hope that it would cut down on the accidental runs of Chocolatey in a command shell that is not elevated and needing to open one that is elevated. This UAC (User account control) setting is handled by something called an application manifest (app.manifest). We had it set to “asInvoker”, or run with the context of the user that ran the command. We’ve moved this to “highestAvailable”, which means if you are a non-admin, it will just run under your context, but if you are an admin in a non-elevated shell, it will ask for elevated permissions to run. There is also “requireAdministrator”, which locks execution down to administrators only.
Moving to “highestAvailable” allows for that asking of privileges that you are used to, up front before it runs. However one additional thing we did here was give you more control over this setting now. We used to embed the app manifest into choco.exe. We now set it next to choco.exe (base install under
$env:ChocolateyInstall
, you will findchoco.exe.manifest
) so you have more freedom to adjust those execution levels as you see fit. There is one catch, you will need to do it on every install/upgrade of Chocolatey until #1206 is implemented. -
When a prerelease is installed, it should upgrade to latest prerelease unless excluded - typically seen in choco upgrade all - see #686
When you run
choco upgrade all
, it never catches the prereleases. However if you runchoco upgrade all --pre
, it may upgrade some of your stable installs to prereleases. Neither of these situations are desirable. So by default, we’ve made it so thatchoco upgrade all
just does the right thing, which is to upgrade your stable releases to the latest stable release and your prerelease packages will upgrade to the absolute latest available, whether that be stable or prerelease. If you need to change the behavior back to the old way for upgrade all, simply add the--exclude-prerelease
option. -
Fix - Passing Allow Downgrade To upgrade against a prerelease may downgrade it to last stable version - see #1212
This is a bug fix that was allowing a prerelease to be downgraded accidentally to the last stable version if you ran
choco upgrade somepackage --allow-downgrade
without a particular version and without--pre
. Now while this would be less affected with #686 above, it could still happen. It’s a bug. The only reason this was marked as breaking change is that someone could be depending on the buggy behavior. So heads up, this bug is now fixed. If you are attempting to downgrade, make sure you specify the version you want it to go down to.
Features
- [Security][Preview] Use Remembered Arguments for a Package During Upgrades - You must opt in for this to work - see #797
- Show download progress for the packages themselves - see #1134
- Set Explicit Proxy Bypass List / Bypass On Local - see #1165
- Option/feature to stop installation when a package fails - see #1151
- Add File64 to Install-ChocolateyInstallPackage and Get-ChocolateyUnzip - see #1187
Bug Fixes
- [Security] Fix - PowerShell sees authenticode hash as changed in scripts that were signed with Unix Line Endings (
LF
) - unable to useAllSigned
- see #1203 - [Security] Fix - chocolatey setup - Use https for downloading .NET Framework 4x if not installed - see #1112
- Fix - chocolatey.config gets corrupted when multiple processes access simultaneously - see #1047
- Fix - “commandExecutionTimeoutSeconds” always reverts to 2700 when deprecated config setting is 0 - see #1059
- Fix - Allow Chocolatey version check with FIPS - see #1193
- Fix - Chocolatey doesn’t always decompress downloads appropriately (support automatic decompression) - see #1056
- Fix - Load built-in Chocolatey functions, then load extensions - see #1200
- Fix - Use provided checksum type - see #1018
- Fix - MSU fails to install with space in path - see #1177
- Fix - Unable to disable failOnInvalidOrMissingLicense feature - see #1069
- Fix - PowerShell (Start-ChocolateyProcessAsAdmin) should only import the installerModule and not the profile - see #1013
- Fix - Automatic Uninstaller should skip when uninstaller executable does not exist - see #1035
- Fix - Package installation often fails with ERROR: You cannot call a method on a null-valued expression - see #1141
- Fix - Text file determination fails to throw an error because it catches it - see #1010
- Fix - Delete the .istext file before the content-type check - see #1012
- Fix - new command - don’t add unparsed options as the name - see #1085
- Fix - Proxy settings ignored for local connections - see #497
- Fix - RefreshEnv / Update-SessionEnvironment changes current user to SYSTEM - see #902
- Fix - Set-EnvironmentVariable writes an error when installing Chocolatey as SYSTEM - see #1043
- Fix - Get-FtpFile fails with integer overflow when downloading file more than 2gb in size - see #1098
- Fix - Uninstall-ChocolateyPackage prints out warning if the passed file path starts and ends with quotes - see #1039
- Fix - Get-UninstallRegistryKey fixes/improvements - see #815
- Fix - Unzip specific folder feature is broken after introducing 7zip - see #676
- Fix - Join-Path error when installing Chocolatey as SYSTEM - see #1042
- Fix -
$env:OS_NAME
is ‘Windows’ for Windows 10 - see #1178 - Fix - choco install relativepath/to/some.nuspec fails - see #906
- Fix - When pointing to a nupkg, choco should use only that nupkg to install and not a newer version in the same directory - see #523
- Fix - Automatic uninstaller should split by quotes when necessary - see #1208
- [API] Fix - lib should merge the AlphaFS dependency - see #1148
- [API] Fix - don’t reset loggers on setting custom automatically - see #1121
- [API] Fix - Chocolatey file cache adds a ‘chocolatey’ directory on each install - see #1210
- [API] Fix - Getting Local List of Package may leave config in undesirable state - see #1213
- Fix - Pro/Business - Chocolatey Licensed Feed May Show Up More Than Once - see #1166
- Fix - Pro/Business - Synchronized packages with DLLs are attempted to be imported by Chocolatey’s PowerShell Extensions Loader - see #1041
Improvements
- [Security] Username and password for
choco apikey
not encrypted in output - see #1106 - [Security] Sign Binaries / Authenticode Signatures with Chocolatey Software digital certificate - see #1214
- Setting commandExecutionTimeout to 0 means never time out - see #1202
- Configure sources to skip proxy - see #262
- Set proxy information at runtime - see #1173
- Start-ChocolateyProcessAsAdmin should not elevate when already elevated - see #1126
- Add
--no-progress
cli switch for hidding progress bars - see #917 - Note web status errors on package install failures - see #1172
- Always let Nuget.Core log - see #1095
- Make choco get its proxy settings also from environment variables - see #605
- Remove quotes in process passed to Start-ChocolateyProcessAsAdmin / CommandExecutor - see #1167
- Increase download buffer size in Get-FtpFile to speed up downloads - see #1099
- Trace network traffic - see #1182
- Upgrade 7Zip to 16.04 - see #1184
- Do not create .ignore file if outside of Chocolatey location - see #1180
- Help should exit zero if called with the help switch, otherwise non-zero on bad commands - see #473
- “Licensed messages” may address users in a somewhat unprofessional manner - see #1111
- Show the entire text to turn on the allowGlobalConfirmation flag - see #1053
- Running
choco
should produce name/version and further instructions - see #1083 - Typo in Install-ChocolateyPowershellCommand - see #1088
- Update
choco new pkg
template to give example of handling nested quoted paths - see #1067 - Add Aliases for Install-ChocolateyVsixPackage - see #1146
- Add Chocolatey Software to copyright - see #1209
- Pro/Business - Feature to Disable Non-Elevated Warnings - see #1118
- Pro/Business - Package Throttle - Bitrate limit packages and downloads (support) - see #454
- Pro/Business - Allow version overrides for local packages - see #942
- Pro/Business - List include programs should not show items from Package Synchronizer’s Programs and Features Package Sync - see #1205
- Pro/Business - Show better messaging when unable to load licensed assembly - see #1145
- Pro/Business - PowerShell Functions should allow overriding urls - see #1117
- Pro/Business - Automatic Uninstaller - allow remove directly - see #1119
- Pro/Business - Add Chocolatey Architect edition license SKU - see #1075
- Pro/Business - Ensure sync command can be machine parseable - quiet logging - see #1147
- Pro/Business - Configure a source to be allowed for self-service - see #1181
0.10.3 (October 7, 2016)
Breaking Change
- Fix - Do Not Check
$LastExitCode
- Only error a package install if script errors or set a different exit code when it is specifically set - see #1000
Starting in v0.9.10, Chocolatey started checking $LASTEXITCODE
in addition to the script command success as a way to be more helpful in determining package failures. This meant it offered the ability to capture when a script exited with Exit 1
and handle that accordingly. However that really has never been a recommended scenario for returning errors from scripts and is not seen in the wild anywhere so it is believed that those that may be affected are very few.
Checking $LastExitCode
checks the last executable’s exit code when the script specifically does not call Exit
. This can lead to very perplexing failures, such as running a successful xcopy that exits with 2
and seeing package failures without understanding why. Since it is not typically recommended to call Exit
to return a value from PowerShell because of issues with different hosts, it’s less of a concern to only look at explicit failures. For folks that may need it, allow failing a package again by the last external command exit code or exit
from a PowerShell script. Note that it is not recommended to use exit with a number to return from PowerShell scripts. Instead you should use $env:ChocolateyExitCode
or Set-PowerShellExitCode
(first available in v0.9.10) to ensure proper setting of the exit code.
If you need the prior behavior, please turn on the feature scriptsCheckLastExitCode
.
Bug Fixes
- Fix - chocolateybeforemodify runs after modifying (moving) chocolatey lib package files - see #995
- Fix - The refreshenv command throws an error about Write-FunctionCallLogMessage when ran in PowerShell on 0.10.2 - see #996
0.10.2 (September 30, 2016)
We’re dubbing this the “Every Joe” release in honor of a friend that just lost his fight with brain cancer. If you want to help further research, please make a donation to a cancer research association of your choosing (e.g. the American Brain Tumor Assocation).
A couple of important fixes/enhancements in this release. Most of the improvements are about providing better feedback to you and fixing minor issues. The big one surrounds when packages set a download path for a file using $env:TEMP
, choco will ensure that the file can still be found for later use.
Bug Fixes
- Fix - Downloaded file is at old
$env:TEMP\chocolatey\chocolatey
location, but install calls with just$env:TEMP\chocolatey\
location - see #969 - Fix - [Pro/Business] UseOriginalLocation fails when there is no 64bit file - see #972
- Fix - Do not use unparsed options as package names - see #983
Improvements
- Start-ChocolateyProcessAsAdmin enhancements - see #977
- Log PowerShell function calls better - see #976
- Allow environment variables in some config settings - see #971
- [Pro/Business] Provide license type to environment variables - see #968
- Note that chocolateyUninstall.ps1 may no longer required in template - see #982
- Provide guidance when licensed only options are passed to FOSS - see #984
- Rollback automatically when a user cancels an operation - see #985
- Explain how to workaround a failing uninstall - see #573
- Remove extra forward slashes in url - see #986
- Side by side uninstall enhancements - see #992
0.10.1 (September 19, 2016)
We’re dubbing this the “Shhh! Keep that secret please” release. We’ve found that when passing in passwords and other sensitive arguments, those items can end up in the logs in clear text. We’ve addressed this in #948 and #953. When it comes to passing sensitive arguments through to native installers, you can set up environment variables with those sensitive args and pass those arguments directly through to Start-ChocolateyProcessAsAdmin
. If you prefer a better experience, the licensed version allows passing sensitive options directly through choco.exe as --install-arguments-sensitive
and --package-parameters-sensitive
. Read more in the Licensed CHANGELOG.
Perhaps the biggest improvement in this release is that Chocolatey will automatically look to see if it can download binaries over HTTPS when provided an HTTP url. If so, Chocolatey will switch to downloading the binaries over SSL. This provides better security in downloading and knowing you are getting the binary from the source location instead of a possible man in the middle location, especially when the package does not provide checksums for verification.
Another improvement you may not even notice, but we think you will love is that Chocolatey now supports TLS v1.2 transport which presents a nice transparent increase in security. You will need to have at least .NET Framework 4.5 installed to take advantage of this feature.
Features
- [Security] Support TLS v1.2 - see #458
- [Security] Attempt to download packages via HTTPS connection - see #746
- [Security] Pro/Business - Pass sensitive arguments to installers - see #948
- Search (and info) by version - see #935
Bug Fixes
- [Security] Fix - Passwords in command line options are logged in clear text - see #953
- [Security] Fix - For PowerShell v2 - if switch down to SSLv3 protocol fails, go back to original protocol - see #958
- Fix - Unzipping to ProgramFiles/System32 is Subject to File System Redirection - see #960
- Fix - Run without login - see #945
- Fix - Support Long Paths - see #934
- Fix - help should not issue warning about elevated command shell - see #893
- Fix - Licensed Feed cannot be disabled - see #959
- Fix - Choco with unknown command should show help menu - see #938
- Fix - Get-FtpFile error when file is missing (called through Get-ChocolateyWebFile) - see #920
- Fix - Skip Get-WebFileName for FTP - see #957
- Fix - Chocolatey-InstallChocolateyPackage fix for double chocolatey folder name is not also applied to the passed in file name - see #908
- Fix - Start-ProcessAsAdmin - working directory should be from the location of the executable - see #937
- [POSH Host] Fix - PowerShell Host - Package scripts setting values can affect packages that depend on them - see #719
- Fix - Transactional install - pending check may fail if the lib folder doesn’t exist - see #954
- Fix - Start-ChocolateyProcessAsAdmin Module Import for PowerShell causes errors - see #901
Improvements
- Transactional Install - Improve concurrent operations (pending) - see #943
- Uninstall-ChocolateyPackage should set unrecognized fileType to exe - see #964
- Powershell functions - Allow access to package title, not only ID - see #925
- Option to apply package parameters / install arguments to dependent packages - see #839
- Get-ChocolateyWebFile download check enhancements - see #952
- Do not treat unknown checksum types as MD5 - see #932
- Pro/Business - Install-ChocolateyPackage - UseOriginalLocation - see #950
- Auto determine checksum type - see #922
- Ensure PowerShell functions have parameter name parity - see #941
- Output from installer should go to verbose log - see #940
0.10.0 (August 11, 2016)
What was planned for 0.9.10.4 is now 0.10.0. This is due partly to a breaking change we are making for security purposes and a move to provide better a better versioning scheme for the remainder of the sub-v1 versions of Chocolatey. Instead of 0.y.z.0 being considered where major verions occur in the sub 1 series, 0.y.0 will now be considered where those major versions occur. We also are moving right along towards v1 (and hope to be there in 2017).
0.10.0 carries the fixes for 0.9.10.4 and includes a major security enhancement (checksum requirement).
Breaking Change
- [Security] Checksum requirement and enhancements - see #112
Checksums in package scripts are meant as a measure to validate the originally intended downloaded resources used in the creation of a package are the same files that are received at a future date. This also ensures that the same files that are checked by all parts of moderation (if applicable) are the same files that are received by users for a package. This is seen mostly on the community repository because it is public and packages are subject to copyright laws (distribution rights), which typically requires the package scripts to download software from the official distribution locations. The Chocolatey framework has had the ability to use checksums in package scripts since July 2014.
What is the requirement? choco will now fail if a package download resources from HTTP/FTP and does not use checksums to verify those downloaded resources. The requirement for HTTP/FTP is #112. We are considering also requiring it for HTTPS (#895) as well. You can optionally set a feature (allowEmptyChecksumsSecure
) to ensure packages using HTTPS also use checksums.
How does this protect the community anymore than before? During moderation review, there is a check of these downloaded binaries against VirusTotal (which verifies these binaries against 50-60+ different virus scanners). The binaries are also verified for installation purposes against a test computer. With an independent 3rd party checksum in the package itself, it guarantees that the files received by a user from those remote sources are the exact same files that were used in the verification process.
Why the requirement, and why now? This is a measure of protection for the Chocolatey community. HTTP is easy to hack with both DNS poisoning and MITM (man in the middle) attacks. Without independent verification of the integrity of the downloaded resources, users can be left susceptible to these issues. We’ve been planning a move to require checksums for awhile now, with a planned longer and smoother transition for package maintainers to get packages updated to reduce breakages. Unfortunately there was a recent event with FOSSHub getting hacked (the community repository had 8 possibly affected packages and we quickly took action), which necessitated a need for us to move in a much swifter fashion to ensure the protection of the community sooner, rather than later. The changes in Chocolatey represented by the checksum changes are a major step in the process to ensure protection. Requiring for HTTPS as well will mitigate any future compromises of software distribution sites that are used with Chocolatey packages.
Can I shut this behavior off or opt out per package?
You can shut off the checksum requirement by enabling the feature allowEmptyChecksums
. This will return Chocolatey to previous behavior. We strongly recommend against it.
You can shut it off or turn it per package install/upgrade with --allow-empty-checksums
and --require-checksums
, respectively. See https://docs.chocolatey.org/en-us/choco/commands/install / https://docs.chocolatey.org/en-us/choco/commands/upgrade.
You can also disable the feature allowEmptyChecksumsSecure
to enforce checksums for packages that download from secure locations (HTTPS).
Other things I should know? Users also now have the ability to pass their own checksums and checksumtypes into the install. See https://docs.chocolatey.org/en-us/choco/commands/install / https://docs.chocolatey.org/en-us/choco/commands/upgrade.
Known Issue
Feature
- Pro/Business - Download a package without installing it - see #108
Bug Fixes
- Fix - Installing choco on Windows 10 Vagrant box stops Vagrant from being able to manage the box - see #834
- Fix - 64bit 7z.exe on 32bit system in chocolatey\tools - see #836
- Fix - [POSH Host] PowerShell exit code does not reset between packages in a single run - see #854
- Fix - Uninstall-ChocolateyZipPackage is failing - see #871
- Fix - “C:\Program Files\WindowsPowerShell\Modules” is missing in PSModulePath for cmd.exe #830
- Fix - Environment variables update fixes #840
- Fix - Handle null items better - see #853
- Fix - HKCU may not have Environment (Install of Chocolatey) - see #375
- Fix - Progress of download does not clear the whole output line - see #875
- Fix - Wrong download progress reported during package upgrade - see #872
- Fix - Uninstall not supporting side-by-side => ChocolateyUninstall.ps1 not run - see #862
- Fix - Uninstall ignores the version parameter - see #861
- Fix - Search by exact or by id only is case sensitive for remote sources - see #889
- Fix - Deprecated links inserted in .nuspec files created by
choco new ...
- see #870 - Fix - Get-OSArchitectureWidth doesn’t do what it says it does - see #828
- Fix - When Choco fails to get a package from NuGet Core, fail the package with exit code 1 - see #867
- Fix - Illegal characters in path - see #857
- Fix - Get-OSArchitectureWidth doesn’t do what it says it does - see #828
- Fix - Pro/Business - Choco install config file fails on licensed assembly - see #866
- Fix - DISM /all doesn’t run anywhere but Windows 6.2 — no dependencies get installed - see #897
Improvements
- Do not install tab completion (edit of profile) under certain conditions - see #833
- Choco install with packages.config should print out the packages to install - see #878
- Larger default log file size and retention - see #852
- Allow getting installer type to be overridden - see #885
- Pack - Add optional output folder option - see #598
- Little command name correction on init.ps1 - see #595
- Tab completion - don’t query if there is a file in the folder that meets completion - see #847
0.9.10.3 (June 23, 2016)
Bug Fixes
- Fix - Ignore ValidPackage Exit Codes for Real - see #827
- Fix - Cache folder running under SYSTEM account should be C:\Windows\TEMP - see #826
- Fix - Built-in 7zip doesn’t behave properly - see #775
- Fix - Successful installer exit codes not recognized by choco should return 0 - see #821
- Fix - NotSilent fails with “Cannot bind argument to parameter statements because it is an empty string” - see #819
- Fix - Silent Args being passed as a string array cause package failure - see #808
Improvements
- Hold pending check for 10 seconds / provide means of explicitly overriding the transactional install cleanup - see #822
- Pro/Business - Add runtime skip option to allow skipping the virus scanner - see #786
0.9.10.2 (June 19, 2016)
Bug Fixes
- Fix - Chocolatey Licensed is unable to find 0.9.10.x (only 0.9.10.0) - see #814
- Fix - Logging is broken in some packages due to new TEMP directory - see #813
- [API] Fix - When performing an Install/Uninstall/Upgrade operation through the API, an error is throw for “chocolatey.resources” - see #811
Improvement
- Ensure log file path exists - and fix the log file arguments if necessary - see #758
0.9.10.1 (June 18, 2016)
Bug Fix
- Fix - Cannot bind argument to parameter ‘exitCode’ because it is null - see #810
Improvement
- [Security] Upgrade to 7zip 16.02 to overcome CVE-2016-2334/CVE-2016-2335 - see #812
0.9.10 (June 17, 2016)
The “I got 99 problems, but a package manager ain’t one” release. With the release of 0.9.10 (or if you prefer 0.9.10.0), we’re about to make everything 100% better in your Windows package management world. We’ve addressed over 100 features and bugs in this release. We looked at how we could improve PowerShell and we’ve come out with a competely internal host that can Prompt and Read-Host in a way that times out and selects default values after a period of time. Speaking of PowerShell, how about some tab completion choco <tab>
to choco install node<tab>
? How about never having to close and reopen your shell again?
Alternative sources (-source webpi
, --source windowsfeature
, etc) are back! I mean, am I right?! Have you heard of auto uninstaller? If Chocolatey has installed something that works with Programs and Features, Chocolatey knows how to uninstall it without an uninstall script about 90+% of the time. This feature was in beta for the 0.9.9 series, it is on by default in 0.9.10 (unless you disabled it after trying it, you will need to reenable it, see choco feature
for more details).
Here’s one you probably never knew existed - extensions. Chocolatey has had the ability to extend itself by adding PowerShell modules for years, and most folks either didn’t know it existed or have never used them. We’ve enhanced them a bit in preparation for the licensed version of Chocolatey.
We redesigned our choco new
default packaging template and we’ve made managing templates as easy as managing packages.
choco search
/choco list
has so many enhancements, you may not need to visit dot org again. See it in action.
- search -v provides moderation related information and a world of nuspec information
- search by id only
- search by id exact
- search by approved only, not broken, and/or by download cache
- sort by version
- search with paging
There are 150 tickets closed for this release! We’ve included remediation steps for when a breaking change affects you. Mostly if you have been using Chocolatey in a recommended way, you won’t even notice any adverse changes. There are a number of things we thought to highlight, and quite a few security enhancements coming in this release (look for the [Security] tag on the ticket summary).
Breaking Changes
- Only fail automation scripts (chocolateyInstall.ps1) if the script returns non-zero exit code - see #445
The 0.9.8 series would only fail a package with terminating errors. The 0.9.9 series took that a bit further and started failing packages if anything wrote to stderr. It turns out that is a bad idea. Only when PowerShell exits with non-zero (which comes with terminating errors) should the package fail due to this. If you need the old behavior of the 0.9.9 series, you can get it back with a switch (--fail-on-standard-error
and its aliases) and/or a feature flip (failOnStandardError
).
- Fix - Force reinstall, force upgrade, and uninstall should delete the download cache - see #590
If you set a custom cache directory for downloads, it will no longer use a “chocolatey” subdirectory under that. You may need to make any adjustments if this is going to affect you.
- Exit with the same exit code as the software being installed - see #512
There are more exit codes from Chocolatey now that indicate success -0
, 1605
, 1614
, 1641
, and 3010
. You may need to adjust anything you were using that would only check for 0 and nonzero.
If you need the previous behavior, be sure to disable the feature usePackageExitCodes
or use the --ignore-package-exit-codes
switch in your choco commands.
- PowerShell module functions adjusted for automatic documentation - see #697
If you were using any of the functions in a non-recommended way or not compliant with the examples, you are going to find breakages in the functions as some of the things that were called out as non-optional are now enforced. This shouldn’t affect most folks.
- [Security] Explicit permissions - remove inheritance/lock down to admins - see #398
This further restricts the default installation location by removing all permissions and inheritance of permissions, explicitly giving Administrator/LocalSystem to Full access, and Users are granted Read and Execute.
Known Issue
Features
- Alternative Sources - see #14
- [POSH Host] Use Internal PowerShell Host - see #8
- Run a script before uninstall/upgrade (chocolateyBeforeModify.ps1) to allow for things like services to shutdown - see #268
- Manage package templates with a specially named package and special package folder - see #542
- Support for custom headers - see #332
- [Security] Show moderation-related information in search results - see #493
- New Helper - Get-ToolsLocation helper (replacement for Get-BinRoot) - see #631
- Choco list/search should have exact filter search - see #453
- RefreshEnv (Refresh Environment Variables) Should also work in PowerShell - see #664
- Provide PowerShell tab completion for Chocolatey - see #412
- [Security] Sign the PowerShell scripts and assemblies - see #501
- Add a
choco info
command to show info for one package - see #644 - Mark packages pending until install completes successfully - see #198
- Resolve sources by name - see #356
- Uninstall-ChocolateyEnvironmentVariable function - see #772
- Pro/Business - Ubiquitous Install Directory Switch - see #258
- Pro/Business - Runtime Virus Scanning - see virus scanning
- Pro/Business - Private CDN cache for downloads - see private CDN cache
- Pro/Business - Sync “choco installed status” with “Windows installed status” - see #567
Bug Fixes
- [Security] Fix - Only load the Chocolatey PowerShell module from a known location - see #560
- [Security] Fix - Package source authentication at http://location/path doesn’t also use http://location/ (base url) - see #466
- [Security] Fix - When defining a proxy without credentials - proxy password is shown in plain text - see #503
- [Security] Fix - Fully qualify shutdown command - see #702
- [Security] Fix - MSI packages fail install with
Could not find 'msiexec'
- see #723 - Fix - Force should set allow-downgrade to true - see #585
- Fix - Do not use NuGet package cache - see #479
- Fix - Pack doesn’t include chocolatey-specific metadata - see #607
- Fix - TEMP environment variable is 8.3 Path on some systems - see #532
- Fix -
$packageName
should be present for zip uninstalls in uninstall script template - see #534 - Fix - Debug/Verbose messages not logged in automation scripts (chocolateyInstall.ps1) - see #520
- Fix - Escape log output for variables that have data from external sources - see #565
- Fix - Choco new silentargs can’t pass in args in the param=value format - see #510
- Fix - Exception if no source is enabled - see #490
- Fix - Chocolatey command help output written to standard error instead of standard out - see #468
- Fix - Logger doesn’t clear cached NullLoggers - see #516
- Fix - DISM “/All” argument in the wrong position - see #480
- Fix - Pro - Installing/uninstalling extensions should rename files in use - see #594
- Fix - Running Get-WebFileName in PowerShell 5 fails and sometimes causes package errors - see #603
- Fix - Merging assemblies on a machine running .Net 4.5 or higher produces binaries incompatible with .Net 4 - see #392
- Fix - API - Incorrect log4net version in chocolatey.lib dependencies - see #390
- [POSH Host] Fix - Message after Download progress is on the same line sometimes - see #525
- [POSH Host] Fix - PowerShell internal process - “The handle is invalid.” - see #526
- [POSH Host] Fix - The handle is invalid - when output is being redirected and a package attempts to write to a filestream - see #572
- [POSH Host] Fix - Write-Host adding multiple line breaks - see #672
- [POSH Host] Fix - PowerShell Host doesn’t show colorization overrides - see #674
- [POSH Host] Fix - $profile is empty string when installing packages - does not automatically install the ChocolateyProfile - see #667
- [POSH Host] Fix - Getting LCID doesn’t work properly with the built-in PowerShell - see #741
- [POSH Host] Fix - Host.Version should return actual PowerShell version - see #708
- Fix - Verbose shows in output on debug switch - see #611
- Fix - Get-ChocolateyUnzip captures files that don’t belong to the package / Unzip should not do a full disk scan - see #616 and #155
- Fix - Package succeeds but software install silently fails when Install-ChocolateyInstallPackage has the wrong arguments - see #629
- Fix - ShimGen handling of spaces and arguments that have shimgen in them - see #647
- Fix - PowerShell v2 - Choco installer messages can’t actually be warnings (causes FileStream errors) - see #666
- Fix - Installing chocolatey removes $env:PSModulePath changes for current PowerShell session - see #295
- Fix - Notice for Get-BinRoot deprecation won’t be displayed - see #673
- Fix - choco new creates a bad ChocolateyUninstall.ps1 script which does not work. - see #460
- Fix - ShimGen fails when file metadata has strings that need literals - see #677
- Fix - Install-ChocolateyPath Expands Variables in PATH, Overwriting Preexisting Variables - see #303
- Fix - Install-ChocolateyShortcut gives invalid warning when target is a web url - see #592
- Fix - Argument Parsing failures should be reported as warnings and not debug messages - see #571
- Fix - choco pack returns zero exit code when Nuget.Core validation errors - see #469
- Fix -
Install-ChocolateyPath
updatesPATH
toREG_SZ
, which may break using Windows dir and system32 tools - see #699 - Fix - Removing environment variables sets empty environment variables - see #724
- Fix - Environment Variable Changes Require Reboot - see #728
- Fix - Get-WebFileName determines strange file name - see #727
- Fix - Package params are also applied to dependent package - see #733
- Fix - Use package name/version from environment, not parameters - see #751
- Fix - Get-WebFileName Does Not Match on Invalid Characters - see #753
- Fix -
choco new
cannot introduce multistage folder hierarchy template - see #706 - Fix - Empty $env:ChocolateyToolsLocation combine error - see #756
- Fix - Installing chocolatey removes $env:PSModulePath changes for current powershell session - see #295
- Fix - Some environment variables are set too early for options/switches to have an effect - see #620
- [API] Fix - Issue when attempting to execute run command through API - see #769
- Fix - Logging of upgrade messages - placement of some messages is incorrect - see #557
- Fix - Get-WebFile fails with - The term ‘//continue’ is not recognized as the name of a cmdlet - see #789
- Fix - Unable to read registry snapshot file - see #487
- Fix - Pro/Business - Licensed version has an incorrect dependency on PowerShell assemblies and will only load v3 and above - see #799
- Fix - Exit codes in package scripts should work - see #802
- Fix - Running choco new creates a bad nuspec - see #801
Improvements
- AutoUninstaller is on by default - see #308
- Use the actual download file name instead of providing one - see #435
- Unset Configuration Values - see #551
- Ability to run “choco upgrade all” ignoring specific packages - see #293
- Extensions enhancements - see #588
- Show human-readable file sizes when downloading - see #363
- [Security] Warn about environment changes - see #563
- Warn when execution timeout has elapsed - see #561
- Update nuspec to make it easier to get started - see #535
- Suppress verbose output to verbose - like with 7-zip - see #476
- Choco push moderation message only on push to dot org - see #601
- Allow tools/bin root to be root of the drive again - see #628
- File description of ShimGen shims should match original as closely as possible - see #374
- Shim Generation should automatically detect GUI - see #634
- Don’t show 32 bit wording unless there is explicitly both versions available - see #642
- Allow passing arbitrary key/value arguments to new command when generating packages from templates - see #658
- Choco search/list should be able to search just by Id - see #663
- Search by approved, by not broken, by download cache - see #670
- Save nuspec files with package installs - see #623
- Show a prompt character when asking a multiple choice question - see #184
- When prompting for a user yes/no answer, use a short [y/n] representation - see #181
- Default package template should include LICENSE.txt and VERIFICATION.txt for packages with binaries - see #675
- choco list/search aliases for -v - ‘-detail’ and ‘-detailed’ - see #646
- Log normal output to a secondary log - see #682
- Display Package test status information on install/upgrade - see #696
- Report when reboots are necessary from package installs - see #712
- Report loaded extensions - see #715
- Exit with specific codes on certain actions - see #707
- Determine if Downloaded File is HTML or Plain Text - see #649
- Interactively prompt with timeout on some questions - see #710
- [POSH Host] Exit code from PowerShell Host should be useful - see #709
- Update environment for scripts after setting environment variables - see #729
- Clean up any temp nuget folder actions after NuGet operations - see #622
- Ensure Web Requests and Responses Do Not Timeout - make configurable - see #732
- Combine timeout from push and execution timeout as one parameter - see #752
- Override autouninstaller / failonautouninstaller fail with switches for uninstall - see #515
- Offer to remove actual package (.install/.portable) when removing meta/virtual package - see #735
- Provide more info in package summary - see #455
- Report install location - see #689
- Track MSI Information Better - see #755
- Support for client certificates - see #399
- choco feature list formatting enhancements - see #742
- choco new —original-template - see #737
- Update Get-FtpFile with fixes for Get-WebFile - see #765
- Rename Get-ProcessorBits as a more appropriately named Get-OSArchitectureWidth - see #713
- Allow passing no 32-bit url and fail the package on 32-bit systems - see #527
- Enhance Install-ChocolateyShortcut to support WindowStyle, Pin to Taskbar and Run As Administrator checkbox - see #519
- [Security] Allow hashing files for checksums with FIPS compliant algorithms - see #446
- After upgrading provide summary of upgraded packages - see #759
- Web functions - Check for local file and return early - see #781
- Refresh environment variables after each install - see #439
- Capture Arguments for a Package during Install/Upgrade - see #358
- If config update fails, log to debug instead of warn - see #793
- Remove extra empty lines when doing choco upgrade all - see #796
- Mention required permissions if user has no access - see #794
- Pro/Business - Also check for license in User Profile location - see #606
- Pro/Business - Set download cache information if available - see #562
- Pro/Business - Allow commands to be added - see #583
- Pro/Business - Load/Provide hooks for licensed version - see #584
- Pro/Business - On valid license, add pro/business source automatically - see #604
- Pro/Business - Add switch to fail on invalid or missing license - see #596
- Pro/Business - add ignore invalid switches/parameters - see #586
- Pro/Business - Don’t prompt to upload file for virus scanning if it is too large - see #695
- Pro/Business - add ‘support’ command - see #745
- Pro/Business - Adjust environment settings warning to suggest upgrade - see #795
- API - Add the ability to retrieve package count for a Source - see #431
- API - Chocolatey Lib still marks vital package information as internal - see #433
- API - Add paging to list command - see #427
- API - Choco search should sort by version - see #668
- API - Switch dll to .NET Client Profile - see #680
0.9.9.12 (March 18, 2016)
Bug Fix
- Fix - PowerShell “Collection is read-only” - see #659
0.9.9.11 (October 6, 2015)
Bug Fix
- Fix - Pin list is broken - see #452
0.9.9.10 (October 3, 2015)
Not to be confused with 0.9.10 (this is not that version). This fixes a small but extremely significant issue with relation to configuration managers and other tools that use choco.
Bug Fixes
- Fix - List output for other tools messed up in 0.9.9.9 (pipe separator missing) - see #450
- Fix - accidentally escaped characters in “new” -help - see #447
0.9.9.9 (October 2, 2015)
With this release you can completely configure choco from the command line (including the priority of sources). Choco now allows you to create custom package templates. Choco has proper proxy support now. We also squashed up some bugs, like the infinite download loop that happens if the connection is lost. We’ve also improved the installation experience of Chocolatey itself, unpacking all of the required setup files in the chocolatey package and improving the messaging output during the bootstrapping process. Chocolatey also doesn’t try to write config updates every command, unless something actually changes in the config file. And last but not least for mentions, the issue of choco not recognizing itself as needing upgraded after being installed by the bootstrapper is now fixed.
Features
Bug Fixes
- Fix - [Security] Remove rollback should validate it exists in choco install backup directory - see #387
- Fix - Ensure chocolatey is installed into the lib folder during initial install - see #414
- Fix - Infinite loop downloading files if connection is lost - see #285
- Fix - list / search results blocking until completion instead of streaming output - see #143
- Fix - default template install script for MSI silentArgs are bad - see #354
- Fix - Deleting read-only files fails - see #338 and #263
- Fix - If the package uses $packageParameters instead of $env:PackageParameters, quotes are removed - see #406
- Fix - Choco upgrade not downloading new installer if current installer is the same size - see #405
- Fix - Exit with non-zero code if install/upgrade version and a newer version is installed - see #365
- Fix - Chocolately can permanently corrupt the config file if an operation is interrupted - see #355
- Fix - Handle PowerShell’s
InitializeDefaultDrives
Error (that should just be a warning) - see #349 - Fix - Checksumming can not be turned off by the feature flag - see #33
- Fix - Process with an id of is not running errors on 0.9.9.8 - see #346
- Fix - Export cmdlets for automation scripts - see #422
Improvements
- [Security] Add SHA-2 (sha256 / sha512) to checksum - see #113
- Sources should have explicit priority order- see #71
- Unpack the powershell files just before packaging up the nupkg (Installing chocolatey meta) - see #347
- API - List —localonly not working by default - see #223
- API - Expose package results - see #132
- API - Externalize IPackage and its interfaces - see #353
- Enhance “Access to path is denied” message on no admin rights - see #177
- Only update chocolatey.config if there are changes - see #364
- Modify source when attempting to add a source with same name but different URL - see #88
- Features should contain description - see #416
- Chocolatey Installer - removing modules not loaded - see #442
- Chocolatey Installer - Don’t use Write-Host - see #444
- Set environment variables once configuration is complete - see #420
- Enhance Package Template for 0.9.9.9 - see #366
0.9.9.8 (June 26, 2015)
Bug Fixes
- Fix: choco install -y C: deletes all files - see #341
- Fix: Read-Host halts scripts rather than prompt for input - see #219
Improvement
- Download Progress Bar is Missing - see #56
0.9.9.7 (June 20, 2015)
“Fix Everything. Fix All The Things” - There have been some things bugging us for a long time related to limitations with NuGet, so we decided to fix that. Like nuspec enhancements, that crazy content folder restriction has been removed (I know, right?!), and we’re working around badly behaved packages quite a bit more to bring you more feature parity.
Let’s talk about a couple of big, like really big, BIG features just added with this release. No more packages rebooting Windows. We fixed (#304 / #323) and enhanced up the Auto Uninstaller Service quite a bit to ensure things are working like you would expect (It goes on by default in 0.9.10 - we’ll start documenting more about it soon). But wait, there’s more! I haven’t even told you about the big features yet
The first big feature is enhancing the nuspec. I mentioned this I know, but now you can use packageSourceUrl
in the nuspec to tell folks where you are storing the source for the package! We also added projectSourceUrl
, docsUrl
, mailingListUrl
, and bugTrackerUrl
. What’s even better is that the community feed has already been enhanced to look for these values. So have the templates from choco new
. And it’s backwards compatible, meaning you can still install packages that have these added nuspec enhancements without issue (but we will need to provide a fix for Nuget Package Explorer).
The second is Xml Document Transformations (XDT), which I think many folks are aware of but may not realize what it can provide. NuGet has allowed transformations for quite awhile to allow you to make changes to an app.config
/web.config
on install/uninstall. We are following in similar footsteps to allow you to do similar when installing/upgrading packages. We will look for *.install.xdt
files in the package (doesn’t matter where) and they will apply to configuration files with the same name in the package. This means that during upgrades we won’t overwrite configuration files during upgrades that have opted into this feature. It allows you to give users a better experience during upgrades because they won’t need to keep making the same changes to the xml config files each time they upgrade your package.
Features
- Allow XDT Configuration Transforms - see #331
- Prevent reboots - see #316
- Enhance the nuspec - first wave - see #205
- Uninstaller Service Enhancements - see #305
Bug Fixes
- When uninstall fails, do not continue removing files - see #315
- Do not run autouninstaller if the package result is already a failure - see #323
- Fix - Auto Uninstaller can fail if chocolateyUninstall.ps1 uninstalls prior to it running - see #304
- Fix - Packages with content folders cannot have a dependency without also having a content folder - see #290
- Remove ShimGen director files on upgrade/uninstall - see #326
- If feature doesn’t exist, throw an error - see #317
- Fix - The operation completed successfully on stderr - see #249
- Fix - When specific nuget version is needed by a package it is the chocolatey version that is used - see #194
- When installing with *.nupkg, need to get package name from package, not file name - see #90
- Fix - Choco pin list is not returning a list - see #302
- Fix - A pin is not created for existing installations (prior to new choco) - see #60
Improvements
- Allow upgrade to always install missing packages - see #300
- Enhance Templates - see #296
- Always log debug output to the log file - see #319
- Warn when unable to snapshot locked files - see #313
- Use %systemroot% in place of %windir%. PATH exceed 2048 breaks choco - see #252
- Add fault tolerance to registry snapshot checks - see #337
0.9.9.6 (May 16, 2015)
Some really large fixes this release, especially removing all files that are installed to the package directory if they haven’t changed, including ensuring that the nupkg file is always removed on successful uninstalls. The really big add some folks are going to like is the new outdated command. Some more variables that were misused have been brought back, which allows some packages (like Atom) to be installed again without issue. If you can believe some people never read these, we decided to add a note to the installer prompt to let people know about -y.
Feature
- Outdated Command - Use
choco outdated
to see outdated packages - see #170
Bug Fixes
- Fix - NotSilent Switch Not Working - see #281
- Fix - Silent installation of choco without admin is not possible - see #274
- Fix - Package resolves to latest version from any source - see #279
- Fix - Install fails when shortcut creation fails - see #264
- Fix - Error deserializing response of type Registry - see #257
- Fix - Auto uninstaller should not depend on optional InstallLocation value - see #255
- Fix - Nupkg is left but reported as successfully uninstalled by NuGet - see #254
- Fix - SHA1 checksum compared as MD5 for Install-ChocolateyZipPackage - see #253
- Fix - Auto uninstaller strips off ”/” and ”-” in arguments - see #212
Improvements
- Uninstall removes all installed files if unchanged - see #121
- Auto uninstaller should convert /I to /X for Msi Uninstalls - see #271
- Bring back more variables for feature parity - see #267
- Mention -y in the prompt - see #265
0.9.9.5 (April 20, 2015)
Breaking Change
- Renamed short option
p
toi
for list —include-programs so thatp
could be ubiquitous for password across commands that optionally can pass a password - see #240
Bug Fixes
- Fix - Secure Sources Not Working - see #240
- Fix - Generate-BinFile / Remove-BinFile - see #230
- Fix - cpack should only include files from nuspec - see #232
- Fix - cpack should leave nupkg in current directory - see #231
- Fix - Install-PowerShellCommand uses incorrect path - see #241
- Fix - choco list source with redirects does not resolve - see #171
- Fix - choco tried to resolve disabled repo - see #169
- Fix - cpack nuspec results in “The path is not of a legal form” - see #164
- Fix - cpack hangs on security related issue - see #160
- Fix - spelling error in “package has been upgradeed successfully” - see #64
Improvements
- Api Key and Source matching could be more intuitive - see #228
- Remove warning about allowGlobalConfirmation being enabled - see #237
- Include log file path when saying ‘See the log for details’ - see #187
- Uninstall prompts for version when there is only one installed - see #186
- Do not offer a default option when prompting for a user choice - see #185
- Remove the warning note about skipping, and instead show the warning when selecting skip - see #183
- Do not print PowerShell install/update scripts by default - see #182
0.9.9.4 (March 30, 2015)
Bug Fix
- Fix - The term ‘false’ is not recognized as the name of a cmdlet - see #215
Improvement
- Some packages use non-API variables like $installArguments - see #207
0.9.9.3 (March 29, 2015)
Bug Fixes
- Fix - Install .NET Framework immediately during install - see #168
- Fix - Do not error on Set-Acl during install/upgrade - see #163
- Fix - Do not escape curly braces in powershell script - see #208
- Fix - Formatting issues on —noop command logging - see #202
- Fix - Uninstaller check doesn’t find 32-bit registry keys - see #197
- Fix - Uninstaller errors on short path to msiexec - see #211
Improvements
- Some packages use non-API variables like $installArguments - see #207
- Add Generate-BinFile to Helpers (widely used but never part of API) - see #145
- Add Remove-BinFile to Helpers - see #195
- Get-ChocolateyWebFile should create path if it doesn’t exist - see #167
0.9.9.2 (March 6, 2015)
Bug Fixes
- Fix - Allow passing install arguments again (regression in 0.9.9 series) - see #150
- Fix - Allow apostrophes to be used as quotes - quoting style that worked with previous client - see #141
- Fix - Shims write errors to stderr - see #142 and ShimGen #14
Improvement
- Upgrade
-r
should always return a value - see #153
0.9.9.1 (March 3, 2015)
Bug Fix
- Fix - Get-BinRoot broken - see #144
0.9.9 (March 3, 2015)
This also includes issues that were being tracked in the old Chocolatey repository: Chocolatey 0.9.9.
The two links above will not capture everything that has changed, since this is a complete rewrite. We broke everything. If this were a v1+, it would be a major release. But we are less than v1, so 0.9.9 it is! ;)
Okay, so we didn’t really break everything. We have maintained nearly full compatibility with how you pass options into choco, although the output may be a bit different (but better, we hope) and in at least one case, additional switches (or a feature setting) is/are required - we limited this to security related changes only.
We also fixed and improved a bunch of things, so we feel the trade off is well worth the changes.
We’ll try to capture everything here that you should know about. Please call choco -?
or choco.exe -h
to get started.
Known Issues
- Known Issues
- TEMPORARY
install all
is missing - this is expected to be back in 0.9.10 - see #23 - Alternative sources (
webpi
,ruby
,python
,cygwin
,windowsfeature
) do not work yet. This is expected to be fixed in 0.9.10 - see #14 - Progress bar is missing when downloading until we are using internal posh components for Packages - see #56
- See Feature Parity for items not yet reimplemented from older PowerShell Chocolatey client (v0.9.8.32 and below).
Breaking Changes
- [Security] Prompt for confirmation: For security reasons, we now stop for confirmation before changing the state of the system on most commands. You can pass
-y
to confirm any prompts or set a value in the config that will globally confirm and behave like older versions of Chocolatey - see #52NOTE
This is one of those additional switches we were talking about
- [Security] If your default installation is still at
c:\Chocolatey
, this version will force a move to ProgramData and update the environment settings - see #7 - Configuration ### Breaking Changes
- You now have one config file to interact with in %ChocolateyInstall%\config - your user config is no longer valid and can be removed once you migrate settings to the config.
- The config will no longer be overwritten on upgrade.
- Choco no longer interacts with NuGet’s config file at all. You will need to reset all of your apiKeys (see features for
apikey
). On the plus side, the keys will work for all users of the machine, unlike NuGet’s apiKeys (only work for the user that sets them). - This also means you can no longer use
useNugetForSources
. It has been removed as a config setting.
- Packaging Changes:
- Choco now installs packages without version numbers on folders. This means quite a few things…
- Upgrading packages doesn’t install a new version next to an old version, it actually upgrades.
- Dependencies resolve at highest available version, not the minimum version as before - see Chocolatey #415
install
versusupgrade
- Useupgrade
on existing packages instead of install. A-force
reinstall will reinstall the same version you already have installed.
- Package Maintenance Changes:
- Read the above about apikey changes
- Read above about dependency resolution changes.
- Deprecated/Removed Commands:
installmissing
has been removed. It was deprecated awhile ago, so this should not be a surprise.choco version
has been deprecated and will be removed in v1. Usechoco upgrade pkgName --noop
orchoco upgrade pkgName -whatif
instead.Write-ChocolateySuccess
,Write-ChocolateyFailure
have been deprecated.update
is nowupgrade
.update
has been deprecated and will be removed/replaced in v1. Update will be reincarnated later for a different purpose. Hint: It rhymes with smackage pindexes.
Features
- In app documentation! Use
choco -?
,choco -h
orchoco commandName -?
to learn about each command, complete with examples! - WhatIf/Noop mode for all commands (
--noop
can also be specified as-whatif
) - see Chocolatey #263](https://github.com/chocolatey/chocolatey/issues/263) and [Default Options and Switches - Performs like a package manager, expect to see queries failing because of unmet dependency issues.
- New Commands:
pin
- Suppress upgrades. This allows you to ‘pin’ an install to a particular version - see #1](https://github.com/chocolatey/choco/issues/1), [Chocolatey #5](https://github.com/chocolatey/chocolatey/issues/5) and [Pin Commandapikey
- see ApiKey Commandnew
- see New Command and Chocolatey #157
- New ways to pass arguments! See How to Pass Options/Switches
- Did we mention there is a help menu that is actually helpful now? Shiny!
- AutoUninstaller!!!! But it is not enabled by default this version. See #15, #9 and Chocolatey #6
- New Helpers:
Install-ChocolateyShortcut
- see Chocolatey #238, Chocolatey #235 and Chocolatey #218
Bug Fixes
Probably a lot of bug fixes that may not make it here, but here are the ones we know about.
- Fix - Cannot upgrade from prerelease to same version released - see Chocolatey #122
- Fix - install
--force
should not use cache - see Chocolatey #199 - Fix - force dependencies as well - see --force-dependencies and Chocolatey #199
- Fix - Chocolatey should not stop on error - see Chocolatey #192
- Fix - Upgrading does not remove previous version - see Chocolatey #259
- Fix - Non-elevated shell message spills errors - see Chocolatey #540
- Fix - Package names are case sensitive for some sources - see Chocolatey #589
- Fix - Install-ChocolateyVsixPackage doesn’t check for correct VS 2012 path - see Chocolatey #601
- Fix - Chocolatey behaves strangely after ctrl+c - see Chocolatey #608
- Fix - Uninstall doesn’t respect version setting - see Chocolatey #612
- Fix - No update after download error - see Chocolatey #637
- Fix - cup ends silently on error - see Chocolatey #312
- Fix - cpack silently fails when dependency .NET 4.0+ is not met - see Chocolatey #270
- Fix - Regression in cver all in 0.9.8.27 - see Chocolatey #530
- Fix - Certain installs and updates fail with a “process with an Id of xxxx is not running” error - see Chocolatey #603
Improvements
- [Security] Allow keeping
c:\chocolatey
install directory with environment variable - see #17 - [Security] Require switch on unofficial build - see #36
- Install script updates - see #7
- Ensure Chocolatey pkg is installed properly in lib folder - This means you can take a dependency on a minimum version of Chocolatey (we didn’t like that before) - see #19
- Uninstall - allow abort - see #43
- Support for HTTPS basic authorization - see Chocolatey #128
- Smooth out success/failure logging - see Chocolatey #154
- Add $env:CHOCOLATEY_VERSION - see Chocolatey #251
- Replace ascii cue with visual cues - see Chocolatey #376
- Uninstall all versions of an app - see Chocolatey #389
- Add parameters in packages.config files - see Packages.config, Chocolatey #472, and #10
- Choco pack should support
-version
- see Chocolatey #526 - Enhancements to Start-ChocolateyProcessAsAdmin - see Chocolatey #564
- Install-ChocolateyFileAssociation - add label to new file types - see Chocolatey #564
- Clean up the verobsity of Chocolatey - see Chocolatey #374
- Compact choco upgrade —noop option - see Chocolatey #414
- Remove references to the Chocolatey gods - see Chocolatey #669
- Shims now have noop (
--shimgen-noop
) and help (--shimgen-help
) switches - see ShimGen #8 and ShimGen #10 - Shims will terminate underlying process on termination signal - see ShimGen #11
- Shims now have gui (
--shimgen-gui
) and exit (--shimgen-exit
) switches - see ShimGen #13 and ShimGen #12 - Dat help menu tho. I mean srsly guise - see Chocolatey #641
0.9.8.33 (Feb 11, 2015)
Feature
- Dynamically export helpers (this fixes helpers that were not visible before) - #628
Improvements
- Accept
-y
as a parameter, Add warning about -y for 0.9.9. - Company name misspelled in shims - #673 and shimgen #9
0.9.8.32 (January 22, 2015)
Bug Fix
- Fix - Chocolatey-Install should return non-zero exit code if chocolateyInstall.ps1 fails - #568 & #658
0.9.8.31 (January 7, 2015)
Bug Fixes
- Fix - Shim doesn’t always shift off the first argument - #655 & ShimGen #7
- Fix - If executable isn’t available, fallback to default icon - #579
0.9.8.30 (January 6, 2015)
Feature
- Use icon of the executable with generated shim - #579 & ShimGen #2
Bug Fix
- Fix - Shims don’t correctly handle spaces in path to shim - #654 & ShimGen #5
0.9.8.29 (January 2, 2015)
Features
- Use icon of the executable with generated shim - #579 & ShimGen #2
- Allow setting custom temp download location - #307
Improvements
- Don’t assume $env:TEMP or $env:UserProfile are set - #647
- Remove Kickstarter message.
0.9.8.28 (November 4, 2014)
Breaking Change
- You may need to update your saved API key for chocolatey, due to #599 we have switched push to ensure https.
Bug Fixes
- Fix - Shim argument parsing needs fixed for quoting - ShimGen #1
- Fix - Forcing x86 does not use 32bit checksum - #535
- Fix - Powershell v2 fails to download SSLv3 files - #531
- Fix - Get-ChocolateyUnzip fails due to Wait-Process exception - #571
Improvements
- Use default credentials for internet if available - #577
- Add moderation message on push - #600
- Restrict all calls to chocolatey.org to HTTPS - #599
- Batch fallback should quote path for spaces - #558
0.9.8.27 (July 13, 2014)
Bug Fix
- Fix - Posh v3+ Ignores -Wait when run from cmd.exe - #516
0.9.8.26 (July 12, 2014)
Pulled due to major breakage with #516
Bug Fixes
- Fix - Allow spaces in arguments to chocolatey again - Regenerate chocolatey included shims to take advantage of shimgen fixes - #507
- Fix - Default path has changed, causing running without closing shell to have issues again - #510
- Fix - Working directory of shimgen generated files points to path target executable is in (GUI apps only) - #508
- Fix - cpack/cpush returns zero exit code even when error occurs - #256 & #384
- Fix - Install error throws another error due to true instead of $true - #514
- Fix - Posh v3+ Ignores -Wait when run from cmd.exe - #516
Improvements
- Allow to pass shimgen specific parameters - #509
- Issue warning if user is not running an elevated shell - #519
0.9.8.25 (July 7, 2014)
Bug Fixes
- Fix - Shims that require admin may fail on UAC enforced machines (System.ComponentModel.Win32Exception: The requested operation requires elevation) - #505
- Fix - Do not check content-length if there isn’t a content-length returned from Get-WebHeaders - #504
0.9.8.24 (July 3, 2014)
Breaking Changes
- Enhancement - Default install to C:\ProgramData\chocolatey - #452 & #494
- Don’t allow $binroot to be set to c:\ - #434 - this is meant to be temporary while other pieces are fixed.
Features
- Checksum downloaded files - #427
- Replace Batch Redirector with Shims - #372
- New Helper - Get-UACEnabled - #451
- Enhancement - Install to Machine environment variable - #453
- Enhancement - Install the .NET framework 4.0 requirement - #255
- Update environment using command (RefreshEnv) - #134
-quiet
parameter that silences almost all output / allow shutting off real write-host - #416 & #411- New Helpers - Test-ProcessAdminRights, Get-EnvironmentVariableNames, Get-EnvironmentVariable, Set-EnvironmentVariable - #486
Bug Fixes
- Fix - Cannot bind argument to parameter ‘Path’ because it is an empty string - #371
- Fix - clist -source webpi doesn’t prompt for admin access - #293
- Fix - Get-ChocolateyUnzip silently fails due to incorrect usage of System32 (File System Redirector Issues) - #476 & #455
- Fix - 7za.exe is subject to UAC file virtualization - #454
- Fix - “You cannot call a method on a null-valued expression” introduced somewhere. - #430
- Fix - Get-BinRoot defaulted to “C:” instead of “C:\tools” - #421
- Fix - Get-ProcessorBits doesn’t return the bitness of the OperatingSystem - #396
- Fix - Fix Invoke for Install All from a Feed (DEPRECATED by #446 - in improvements below) - #381
- Fix - Upgrade to 0.9.8.24 produces cannot find Update-SessionEnvironment when using cmd.exe - #459
- Fix - Package depending on newer chocolatey version is installed using existing version of chocolatey - #460
- Fix - Bash improvements - #383
- Fix - Resolve issue with DISM “missing” or with the 32-bit DISM being called on a 64-bit system - #393
- Fix - Do NOT throw if missing a chocolateyuninstall.ps1 - #499
Improvements
- Do not download if file already cached - #428 & #109
- If *.ignore file failes to create, do not fail the process - #380
- Validate downloaded file is the right size - #429
- Add perf to Chocolatey-List & allow to return as object - #426
- Chocolatey-List LocalOnly performance improvements - #425
- Chocolatey-Version Improvements - #445
- Remove Invoke-Chocolatey Function to improve handling - #446
- Don’t create a window during Run-Nuget.ps1 - #450
- Generate _env.cmd file instead of bat file for consistency - #469
- Remove-BinFile removes shim.exes when installing a package - #449
- Remove annoying “Reading environment variables from registry. Please wait…” - #440
- Replace ascii cue to visual cue for “installing package” - #376
- Clean up the verbosity of chocolatey - #374
- Improve chocolatey setup as administrator - #486
- Simplify Chocolatey-Update - #493
- Update to Nuget.exe 2.8.2 - #379
0.9.8.23 (November 11, 2013)
Bug Fixes
- Fix - Chocolatey 0.9.8.22 incorrectly reports version as alpha1 #368
- Fix - Some chocolatey commands with no arguments error #369
0.9.8.22 (November 10, 2013)
Breaking Change
- To use spaces and quotes, one should now use single quotation marks. It works best in both PowerShell and cmd.
Features
- Enhancement - Add switch to force x86 when packages have both versions - #365
- Enhancement - Allow passing parameters to packages - #159
Bug Fix
- Fix - Chocolatey 0.9.8.21 errors when using spaces or quotes with chocolatey or with batch redirect files #367
0.9.8.21 (November 7, 2013)
Breaking Changes
- Enhancement - For local package searching, use choco list -lo or choco search -lo. The execution speed is greatly increased. cver for local has been deprecated. - #276
- Breaking - Chocolatey default sources no longer includes Nuget official feed. This will help improve response time and greatly increase relevant results. - #349
Features
- Enhancement - Support for Server Core - #59
- Enhancement - Add a switch for ignoring dependencies on install
-ignoredependencies
- #131 - Command -
choco
is now a default term - Command - search is now a command (aliases list)
choco search something [-localonly]
- Function -
Get-ProcessorBits
- tells you whether a processor is x86 or x64. This functionality was in chocolatey already but has been globalized for easy access. - #231 & #229 - Function -
Get-BinRoot
- Gives package maintainers the ability to call one command that gets them the tools/bin root. This gives you the location where folks want certain packages installed. - #359
Improvements
- Enhancement - Install multiple packages by specifying them all on the same line - #191
- Enhancement - Install .NET Framework 4.0 requirement if not already installed - #255
- Enhancement - Refresh command line PATH after installs - partial to #134 - Previously we were just doing it in chocolatey with #158
- Enhancement - Allow chocolatey to install when zip shell extensions are disabled - #297
- Enhancement - Support for bash and similar shells - #347 & #258
- Enhancement - Allow file uri to be used when downloading files - #322
- Enhancement - Chocolatey version all versions returned for specific local package. - #260
- Enhancement - Exit codes return appropriately - #210
- Enhancement - Better logging support - #208
Bug Fixes
- Fix - Treat installation failures appropriately - #10
- Fix - Using newer versions of nuget breaks chocolatey - #303
- Fix - Chocolatey incorrectly reports 64 bit urls when downloading anything - #331
- Fix - Executing
cuninst
without parameters shouldn’t do anything - #267 & #265 - Fix - VSIX installer helper is finding the wrong Visual Studio version - #262
- Fix - Renaming logs appending
.old
results in error - #225 - Fix - Minor typo in uninstall script “uninINstalling” - #247
- Fix - Bug in Get-ChocolateyUnzip throws issues sometimes #244 & #242
- Fix - Minor typo “succesfully” - #241
0.9.8.20 (December 11, 2012)
Features
- Command - Win Feature feed - #150
- Function - Add function to install environment variables - #149
- Function - Function to associate file extensions with installed executables - #146
- Function - Helper function to create explorer context menu items - #144
- Function - Helper function for pinning items to task bar - #143 & #141
- Command - Sources command - #138
- Command - Provide a way to list all the installed packages - #125
Improvements
- Enhancement - Added FTP support for the chocolatey file downloader. - #137
- Enhancement - Block installer exe from being “bin”-ed - #174
- Enhancement - Making the unzip process silent - #180
- Enhancement - Makes install args more explicit - #179
- Enhancement - Update Write-Progress every 5000 iterations instead of every iteration - #177
- Enhancement - Codeplex Support - #176
- Enhancement - Fix downloads greater than 2GB - #173
- Enhancement - Add -verbose switch for clist support to see package description - #166
- Enhancement - Refresh env vars after Install - #158 & #153
- Enhancement - Add EditorConfig file denoting coding style. - #123
- Enhancement - Chocolatey-Version Remote Check - #119
- Enhancement - Write every unzip path/file to a text file - #114
Bug Fixes
- Fix - “Execution of NuGet not detected” error. - #151
- Fix - chocolatey.bat can’t find chocolatey.cmd - #152
- Fix -
chocolatey version all
prints only the last package’s information - #183 - Fix - Issue with $processor.addresswidth var - #121
0.9.8.19 (July 2, 2012)
Feature
- Enhancement - Allow community extensions - #115
Bug Fixes
- Fix - PowerShell v3 doesn’t like foreach loop (prefers ForEach-Object) - #116
- Fix - Cannot install Python packages on Windows 8 - #117
0.9.8.18 (June 16, 2012)
Bug Fix
- Fix - 0.9.8.17 installer doesn’t create chocolatey folder if it doesn’t exist - #112
0.9.8.17 (June 15, 2012)
Feature
- Enhancement - Support for naive uninstall - #96
Improvements
- Enhancement - Sources specified through config (or nuget.config) - #101
- Enhancement - Chocolatey should support multiple sources - #82
- Enhancement - Use Cygwin as a package source - #93
- Enhancement - Use Python as a package source (uses easy_install) - #100
- Enhancement - Use Default Credentials before Get-Credentials when using proxy on web call - #83
- Enhancement - Reduce the verbosity of running chocolatey - #84
- Enhancement - Support opening links to “GUI” type applications in a different way than the console apps - #76
- Enhancement - Do not create batch redirects for certain executables in package folder - #106
- Enhancement - Add a -debug switch - #85
- Enhancement - Improve pipelining of cver by returning an object - #94
Bug Fixes
- Fix - Packages.config source now uses chocolatey/nuget sources by default instead of empty - #79
- Fix - Executable batch links not created for “prerelease” versions - #88
- Fix - Issue where latest version is not returned - #92
- Fix - Prerelease versions now broken out as separate versions - #90
- Fix - During install PowerShell session gets bad $env:ChocolateyInstall variable - #80
- Fix - Build path with spaces now works - #102
0.9.8.16 (February 27, 2012)
Bug Fix
- Small fix to installer for upgrade issues from 0.9.8.15
0.9.8.15 (February 27, 2012)
Breaking Changes
- Enhancement - Chocolatey’s default folder is now C:\Chocolatey (and no longer C:\NuGet) - #58
- Enhancement - Use -force to reinstall existing packages - #45
Feature
- Enhancement - Install now supports all with a custom package source to install every package from a source! - #46
Improvements
- Enhancement - Support Prerelease flag for Install - #71
- Enhancement - Support Prerelease flag for Update/Version - #72
- Enhancement - Support Prerelease flag in List - #74
Bug Fix
- Fix - Parsing the wrong version when trying to update - #73
0.9.8.14 (February 6, 2012)
Improvements
- Enhancement - Pass ValidExitCodes to Install Helpers - #54
- Enhancement - Add 64-bit url to Install-ChocolateyZipPackage - #48
- Enhancement - Add 64-bit url to Install-ChocolateyPowershellCommand - #57
- Enhancement - Make the main helpers work with files not coming over HTTP - #51
- Enhancement - Upgrade NuGet.exe to 1.6.0 to take advantage of prerelease packaging - #64
Bug Fixes
- Fix - The packages.config feature has broken naming packages with ‘.config’ - #56
- Fix - CList includes all versions without adding the switch - #60
- Fix - When NuGet.exe failes to run due to .NET Framework 4.0 not installed, chocolatey should report that. - #65
0.9.8.13 (January 8, 2012)
Features
- New Command! Enhancement - Integration with Ruby Gems (
cgem packageName
orcinst packageName -source ruby
) - #29 - New Command! Enhancement - Integration with Web PI (
cwebpi packageName
orcinst packageName -source webpi
) - #28 - Enhancement - Call chocolatey install with packages.config file (thanks AnthonyMastrean!) - #31 and #43 and #50
- New Command! Enhancement - Chocolatey Push (
chocolatey push packageName.nupkg
orcpush packageName.nupkg
) - #36 - New Command! Enhancement - Chocolatey Pack (
chocolatey pack [packageName.nuspec]
orcpack [packageName.nuspec]
) - #35
Improvements
- Enhancement - @datachomp feature - Override Installer Arguments
chocolatey install packageName -installArgs "args to override" -override
orcinst packageName -ia "args to override" -o
) - #40 - Enhancement - @datachomp feature - Append Installer Arguments (
chocolatey install packageName -installArgs "args to append"
orcinst packageName -ia "args to append"
) - #39 - Enhancement - Run installer in not silent mode (
chocolatey install packageName -notSilent
orcinst packageName -notSilent
) - #42 - Enhancement - List available Web PI packages (
clist -source webpi
) - #37 - Enhancement - List command should allow the All or AllVersions switch - #38
- Enhancement - Any install will create the ChocolateyInstall environment variable so that installers can take advantage of it - #30
Bug Fixes
- Fixing an issue on proxy display message (Thanks jasonmueller!) - #44
- Fixing the source path to allow for spaces (where chocolatey is installed) - #33
- Fixing the culture to InvariantCulture to eliminate the turkish “I” issue - #22
0.9.8.12 (November 20, 2011)
Improvement
- Enhancement - Reducing the number of window pop ups - #25
Bug Fixes
- Fixed an issue with write-host and write-error overrides that happens in the next version of PowerShell - #24
- Fixing an issue that happens when PowerShell is not on the path - #23
- Fixing the replacement of capital ”.EXE” in addition to lowercase “.exe” when creating batch redirects - #26
0.9.8.11 (October 4, 2011)
Bug Fixes
- Fixing an update issue if the package only exists on chocolatey.org - #16
- Fixing an issue with install missing if the package never existed - #13
0.9.8.10 (September 17, 2011)
Feature
- New Helper! Install-ChocolateyPowershellCommand - install a PowerShell script as a command - #11
0.9.8.9 (September 10, 2011)
Bug Fix
- Reinstalls an existing package if -version (0.9.8.7+) or —version (>=0.9.9.0) is passed (first surfaced in 0.9.8.7 w/NuGet 1.5) - #9
0.9.8.8 (September 10, 2011)
Bug Fixes
- Fixing version comparison - #4
- Fixed package selector to not select like named packages (i.e. ruby.devkit when getting information about ruby) - #3
0.9.8.7 (September 2, 2011)
Improvements
0.9.8.6 (July 27, 2011)
Bug Fix
- Fixed a bug introduced in 0.9.8.5 - Start-ChocolateyProcessAsAdmin erroring out when setting machine path as a result of trying to log the message.
0.9.8.5 (July 27, 2011)
Improvements
- Improving Run-ChocolateyProcessAsAdmin to allow for running entire functions as administrator by importing helpers to that command if using PowerShell.
- Updating some of the notes.
Bug Fix
- Fixed bug in installer when User Environment Path is null.
0.9.8.4 (July 27, 2011)
Bug Fix
- Fixed a small issue with the Install-ChocolateyDesktopLink
0.9.8.3 (July 7, 2011)
Breaking Change
- Chocolatey no longer runs the entire PowerShell script as an administrator. With the addition of the Start-ChocolateyProcessAsAdmin, this is how you will get to administrative tasks outside of the helpers.
Features
- New chocolatey command! InstallMissing allows you to install a package only if it is not already installed. Shortcut is ‘cinstm’.
- New Helper! Install-ChocolateyPath - give it a path for out of band items that are not imported to path with chocolatey
- New Helper! Start-ChocolateyProcessAsAdmin - this allows you to run processes as administrator
- New Helper! Install-ChocolateyDesktopLink - put shortcuts on the desktop
Improvements
- NuGet updated to v1.4
- Much of the error handling is improved. There are two new Helpers to call (ChocolateySuccess and Write-ChocolateyFailure).
- Chocolatey no longer needs administrative rights to install itself.
0.9.8.2 (May 21, 2011)
Feature
- You now have the option of a custom installation folder. Thanks Jason Jarrett!
0.9.8.1 (May 18, 2011)
Bug Fix
- General fix to bad character in file. Fixed selection for update as well.
0.9.8 (May 4, 2011)
Breaking Change
- A dependency will not reinstall once it has been installed. To have it reinstall, you can install it directly (or delete it from the repository and run the core package).
Improvements
- Shortcuts have been added: ‘cup’ for ‘chocolatey update’, ‘cver’ for ‘chocolatey version’, and ‘clist’ for ‘chocolatey list’.
- Update only runs if newer version detected.
- Calling update with no arguments will update chocolatey.
- Calling update with all will update your entire chocolatey repository.
0.9.7.3 (April 30, 2011)
Bug Fix
- Fixing Install-ChocolateyZipPackage so that it works again.
0.9.7.2 (April 29, 2011)
Bug Fix
- Fixing an underlying issue with not having silent arguments for exe files.
0.9.7.1 (April 29, 2011)
Bug Fixes
- Fixing an introduced bug where the downloader didn’t get the file name passed to it.
0.9.7 (April 29, 2011)
Features
- New helper added Install-ChocolateyInstallPackage - this was previously part of the download & install and has been broken out.
- New chocolatey command! Version allows you to see if a package you have installed is the most up to date. Leave out package and it will check for chocolatey itself.
Improvements
- The PowerShell module is automatically loaded, so packages no longer need to import the module. This means one line chocolateyInstall.ps1 files!
- Error handling is improved.
- Silent installer override for msi has been removed to allow for additional arguments that need to be passed.
0.9.6.4 (April 26, 2011)
Improvement
- Remove PowerShell execution timeout.
0.9.6.3 (April 25, 2011)
Feature
- New Helper added Install-ChocolateyZipPackage - this wraps the two upper commands into one smaller command and addresses the file name bug.
0.9.6.2 (April 25, 2011)
Bug Fix
- Addressed a small bug in getting back the file name from the helper.
0.9.6.1 (April 23, 2011)
Improvement
- Adding in ability to find a dependency when the version doesn’t exist.
0.9.6 (April 23, 2011)
Improvement
- Can execute PowerShell and chocolatey without having to change execution rights to PowerShell system wide.
Features
- New Helper added - Get-ChocolateyWebFile - downloads a file from a url and gives you back the location of the file once complete.
- New Helper added - Get-ChocolateyZipContents - unzips a file to a directory of your choosing.
0.9.5 (April 21, 2011)
Feature
- Helper for native installer added (Install-ChocolateyPackage). Reduces the amount of PowerShell necessary to download and install a native package to two lines from over 25.
Improvements
- Helper outputs progress during download.
- Dependency runner is complete.
0.9.4 (April 10, 2011)
Improvements
- List command has a filter.
- Package license acceptance terms notated.
0.9.3 (April 4, 2011)
Improvement
- You can now pass -source and -version (<0.9.9.0) or —version (>=0.9.9.0) to install command.
0.9.2 (April 4, 2011)
Feature
- List command added.
0.9.1 (March 30, 2011)
Improvement
- Shortcut for ‘chocolatey install’ - ‘cinst’ now available.