chocolatey_software_package_manager_for_windows

Chocolatey Software Package Manager for Windows

(DevOps deployment navbar)

Return to GitOps, DevOps deployment, Kubernetes-Docker, Linux configuration (Unix shell initialization - bash profile) Ansible-Terraform, Package manager, Package management, Packages, Configuration, Configuration automation, Deployment automation, Continuous deployment, Delivery, Continuous delivery, Integration, Continuous integration, CI-CD, CI/CD, Version control, GitHub, GitHub Actions, GitHub CLI, AWS Cloud Shell, AWS Tools for PowerShell, Azure Cloud Shell, Azure PowerShell, Google Cloud Shell, Oracle Cloud Shell (Oracle Cloud Infrastructure Cloud Shell), IBM Cloud Shell, Linode Cloud Shell, DigitalOcean Cloud Shell, GitHub Codespaces IDE, AWS Cloud9 IDE, Databricks Cloud Shell, JetBrains, Azure DevOps, JetBrains TeamCity, Management, Configuration management

Chocolatey

Azure

AWS

DevOps

Config Management

Databases

Git

Programming languages

Node.js

Ruby

JDK

C#

JetBrains

PowerShell

Microsoft

Tools

Pentesting

Security

Windows PowerShell Installation

PS C:\WINDOWS\system32> Set-ExecutionPolicy Bypass -Scope Process -Force; iex 1)

Getting latest version of the Chocolatey package for download.

Getting Chocolatey from https://chocolatey.org/api/v2/package/chocolatey/0.10.11.

Downloading 7-Zip commandline tool prior to extraction.

Extracting \Users\USERNAME\AppData\Local\Temp\chocolatey\chocInstall\chocolatey.zip to C:\Users\USERNAM\AppData\Local\Temp\

chocolatey\chocInstall…

Installing chocolatey on this machine

Creating ChocolateyInstall as an environment variable (targeting 'Machine')

Setting ChocolateyInstall to 'C:\ProgramData\chocolatey'

WARNING: It's very likely you will need to close and reopen your shell before you can use choco.

Restricting write permissions to Administrators

We are setting up the Chocolatey package repository.

The packages themselves go to 'C:\ProgramData\chocolatey\lib' (i.e. C:\ProgramData\chocolatey\lib\yourPackageName).

A shim file for the command line goes to 'C:\ProgramData\chocolatey\bin' and points to an executable in 'C:\ProgramData\chocolatey\lib\yourPackageName'.

Creating Chocolatey folders if they do not already exist.

WARNING: You can safely ignore errors related to missing log files when upgrading from a version of Chocolatey less than 0.9.9.'Batch file could not be found' is also safe to ignore. 'The system cannot find the file specified' - also safe.

WARNING: Not setting tab completion: Profile file does not exist at 'C:\Users\USERNAME\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1'.

Chocolatey (choco.exe) is now ready.

You can call choco from anywhere, command line or PowerShell by typing choco.

Run choco /? for a list of functions.

You may need to shut down and restart PowerShell and/or consoles first prior to using choco.

Ensuring chocolatey commands are on the path

Ensuring chocolatey.nupkg is in the lib folder

PS C:\WINDOWS\system32> Chocolatey

Install Command

Installs a package or a list of packages (sometimes specified as a

packages.config). Some may prefer to use `[[cinst]]` as a shortcut for
`[[choco install]]`.

NOTE: 100% compatible with older chocolatey client (0.9.8.32 and below)

with options and switches. Add `-y` for previous behavior with no
prompt. In most cases you can still pass options and switches with one
dash (`-`). For more details, see the command reference (`choco -?`).

Usage

Snippet from Wikipedia: Chocolatey

Chocolatey is a machine-level, command-line package manager and installer for software on Microsoft Windows. It uses the NuGet packaging infrastructure and Windows PowerShell to simplify the process of downloading and installing software.

The name is an extension on a pun of NuGet (from "nougat") "because everyone loves Chocolatey nougat".

YouTube Videos

GitHub Tags

External Sites

Main

  • chocolatey

Interesting Articles

Support Resources, FAQs, Q&A, Docs, Blogs

Search Engines

Repos and Registries

Courses

Books

Vidcasts-Podcasts

Chocolatey related ONLY: Give me a 100 term vocabulary list sorted by popularity in usage (by commonly used / frequency of use in codebases). That means 100 terms, not 100 words. DO NOT REPEAT YOURSELF. Acronyms related to Chocolatey technology are allowed but they must be expanded. e.g. RAII (Resource Acquisition Is Initialization). The terms should have to do ONLY with and SPECIFICALLY with Chocolatey, CANNOT include generic operating system terms, generic IT terms, or computing terms. No definitions. Just the words. Each word should be surrounded by double brackets and separated by a comma and on the same lines. e.g. robots, robotics. Etc.

Chocolatey, choco command, choco install, choco uninstall, choco upgrade, choco update, choco search, choco list, choco pack, choco push, choco download, choco verify, choco config, choco feature, choco source, choco pin, choco unpin, choco export, choco import, choco outdated, choco clean, choco info, choco show, choco help, choco new, choco template, choco pack --build, choco push --force, choco uninstall --force, choco upgrade --all, choco upgrade --noop, choco install --yes, choco install --force, choco config list, choco config get, choco config set, choco config unset, choco config --global, choco config --local, choco feature enable, choco feature disable, choco feature list, choco source add, choco source remove, choco source enable, choco source disable, choco source update, choco source list, choco pin add, choco pin remove, choco pin list, choco export --file, choco import --file, choco outdated --ignore-pinned, choco outdated --all, choco outdated --version, choco clean --all, choco clean --cache, choco clean --temp, choco verify --force, choco verify --fix, choco verify --checksum, choco install --debug, choco upgrade --debug, choco pack --debug, choco push --debug, choco template --force, choco template create, choco template list, choco template install, choco template update, choco template remove, choco template show, choco search --exact, choco search --pre, choco list --local, choco list --include-programs, choco list --approved, choco list --not-approved, choco info --verbose, choco show --detailed, choco help --verbose, choco help --examples, choco new --name, choco new --template, choco pack --template, choco install --params, choco install --ignore-checksums, choco upgrade --params, choco upgrade --ignore-checksums, choco uninstall --params, choco uninstall --ignore-checksums, choco upgrade --skip-powershell.

Chocolatey Software Package Manager: Cloud Monk's Package Manager Book, Cloud Monk's Development PC DevOps Automation via Ansible-Chocolatey-PowerShell-Homebrew-DNF-APT, Chocolatey Glossary - Glossaire de Chocolatey - French, Chocolatey Fundamentals, Chocolatey Inventor - Chocolatey Designer: Rob Reynolds, Chocolatey DevOps - Chocolatey WinOps - WinOps, Chocolatey Tools (InstChoco, choco-package-list-backup and choco-cleaner by bcurran3), Boxstarter, Chocolatey Community Package Repository, Idempotent, Chocolatey install (InstChoco), Refreshenv, PowerShell on Windows, Package managers, Windows Package Managers, Windows Configuration Management - Windows Server Configuration Management, Ansible on Windows, Chef on Windows, Puppet on Windows, Debloat, choco-package-list-backup, Choco Cleaner, winget Windows Package Manager vs Chocolatey. (navbar_choco - see also navbar_brew, navbar_package_manager)


Cloud Monk is Retired ( for now). Buddha with you. © 2025 and Beginningless Time - Present Moment - Three Times: The Buddhas or Fair Use. Disclaimers

SYI LU SENG E MU CHYWE YE. NAN. WEI LA YE. WEI LA YE. SA WA HE.


1)
New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'
chocolatey_software_package_manager_for_windows.txt · Last modified: 2025/02/01 07:11 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki