ChocoMan

1.3.5

![Tests](https://github.com/regg00/ChocoMan/actions/workflows/test-and-deploy.yaml/badge.svg)
![Docs](https://github.com/regg00/ChocoMan/actions/workflows/build-doc.yaml/badge.svg)
[![GitHub issues](https://img.shields.io/github/issues/regg00/ChocoMan.svg)](https://github.com/regg00/ChocoMan/issues)

<img src="./Docs/icon.png" height="200">

# ChocoMan

A PowerShell wrapper around Chocolatey.

## Why it exists

Mostly for fun, but I also got tired of parsing raw output of Chocolatey commands in my deployment scripts. I figured having each command outputs a standardized PowerShell object would help somehow.

## Installing this module

This module is available in [PowerShell Gallery](https://www.powershellgallery.com/packages/ChocoMan):

```powershell
Install-Module ChocoMan
```

Or, download it from here and save all of the files somewhere in your `$PSModulePath`.

## Before you start

Before using this package, you need to make sure that Chocolatey is installed on your device.

You can valide this with the `choco --version` command.

```powershell
PS C:\> choco --version
2.1.0
```

You can also install it using this module with the `Install-Choco` command.

```powershell
PS C:\> Install-Choco
Chocolatey v2.1.0 installed
```

## Using the module

First things first, you need to import it `Import-Module ChocoMan`

## Hide the activity indicator

The activity indicator can be hidden by setting the `ProgressPreference` variable to `SilentlyContinue`

```powershell
PS C:\> Set-Variable ProgressPreference SilentlyContinue ; Get-ChocoOutdated
```

### Demo

<img src="./Docs/demo.gif" height="500">

### Functions

Here's the status of each functions:

| Command                                                    | Status             | Notes                                                                              |
| ---------------------------------------------------------- | ------------------ | ---------------------------------------------------------------------------------- |
| [Get-ChocoApiKey](./Docs/Get-ChocoApiKey.md)               | :white_check_mark: | Retrieves, saves or deletes an API key for a particular source                     |
| [Get-ChocoConfig ](./Docs/Get-ChocoConfig.md)              | :white_check_mark: | Retrieves the chocolatey configuration                                             |
| [Get-ChocoFeature ](./Docs/Get-ChocoFeature.md)            | :white_check_mark: | Retrieves the chocolatey features                                                  |
| [Get-ChocoOutdated](./Docs/Get-ChocoOutdated.md)           | :white_check_mark: | Get the list of outdated chocolatey packages.                                      |
| [Get-ChocoPackage](./Docs/Get-ChocoPackage.md)             | :white_check_mark: | Get a specific locally installed chocolatey package.                               |
| [Get-ChocoSources](./Docs/Get-ChocoSources.md)             | :white_check_mark: | Get the list of chocolatey sources.                                                |
| [Get-ChocoVersion](./Docs/Get-ChocoVersion.md)             | :white_check_mark: | Get the version of chocolatey.                                                     |
| [Get-ChocoManVersion](./Docs/Get-ChocoManVersion.md)       | :white_check_mark: | Get the version of ChocoMan.                                                       |
| [Get-ChocoPackageInfo](./Docs/Get-ChocoPackageInfo.md)     | :white_check_mark: | Get information on an existing package.                                            |
| [Set-ChocoApiKey](./Docs/Set-ChocoApikey.md)               | :white_check_mark: | Edit API keys                                                                      |
| [Set-ChocoConfig](./Docs/Set-ChocoConfig.md)                                            | :white_check_mark: | Edit chocolatey configuration                                                      |
| [Search-ChocoPackage](./Docs/Search-ChocoPackage.md)       | :white_check_mark: | Search for a choco
Show more

Minimum PowerShell version

5.1

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name ChocoMan -RequiredVersion 1.3.5

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name ChocoMan -Version 1.3.5

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

(c) regg00. All rights reserved.

Package Details

FileList

Version History

Version Downloads Last updated
1.3.9 2 8/1/2025
1.3.8 1 8/1/2025
1.3.7 1 8/1/2025
1.3.6 1 8/1/2025
1.3.5 (current version) 2 8/1/2025
1.3.4 5 8/1/2025
1.3.3 3 8/1/2025
1.3.2 5 7/31/2025
1.3.1 13 7/31/2025
1.2.8 5 7/30/2025
1.2.7 4 7/30/2025
1.2.6 2,824 6/26/2024
1.2.5 264 12/17/2023
1.2.3 10 12/13/2023
1.2.2 20 11/30/2023
1.2.1 39 9/13/2023
1.2.0 14 8/25/2023
1.1.0 14 8/18/2023
1.0.0 19 8/11/2023
0.13.0 15 8/8/2023
0.12.0 10 8/7/2023
0.11.0 11 8/4/2023
0.10.0 14 8/3/2023
0.9.0 16 8/1/2023
0.8.0 10 7/31/2023
0.7.0 10 7/28/2023
0.6.0 9 7/27/2023
0.5.0 9 7/26/2023
0.4.0 8 7/25/2023
0.3.0 13 7/21/2023
0.2.0 9 7/20/2023
Show more