# Chocolatey for Raycast

URL: https://www.raycast.com/user_fb2826b29bbab02dfe18/choco

> Search, install, upgrade, and export Chocolatey packages and manage sources on Windows using the required Chocolatey CLI.

- Install: raycast://extensions/user_fb2826b29bbab02dfe18/choco
- Author: [Grigoriy Ignatiev](https://www.raycast.com/user_fb2826b29bbab02dfe18)
- Installs: 1
- Platforms: Windows
- Categories: Developer Tools, System
- Updated: 2026-12-03
- Source: https://github.com/raycast/extensions/tree/a6ab50979582355b4e05625c172552443be4808d/extensions/choco/

## Commands

- **Search Packages**: Search Chocolatey packages and install them
- **Show Installed**: List installed and pinned Chocolatey packages
- **Show Upgrades**: Review outdated Chocolatey packages and upgrade them
- **Upgrade All Packages**: Upgrade all non-pinned Chocolatey packages
- **Manage Sources**: Add, enable, disable, and remove Chocolatey package sources
- **Export Packages**: Export installed Chocolatey packages to packages.config XML

## README

### Chocolatey for Raycast (Windows)

Search, install, upgrade, pin, and uninstall [Chocolatey](https://chocolatey.org/) packages on Windows directly from Raycast.

#### Requirements

- Windows with Raycast for Windows
- [Chocolatey CLI](https://chocolatey.org/install) (`choco.exe`) installed

#### Features

- **Search Packages**: Uses the Chocolatey Community OData v2 API for fast search with package icons, download counts, dependencies, and install status. Disable **Use Chocolatey Community OData API for search** in extension preferences to search private or offline sources via `choco search`.
- **Show Installed**: View all installed packages separated into **Pinned** and **Installed** sections, with actions to upgrade, pin/unpin, inspect `choco info`, or uninstall.
- **Show Upgrades**: Review outdated packages (`current → available`), upgrade individual packages, or upgrade all non-pinned packages at once.
- **Upgrade All Packages**: `no-view` command to update every unpinned Chocolatey package in one step.
- **Manage Sources**: List, add, enable, disable, and remove Chocolatey package repositories.
- **Export Packages**: Generate and save a `packages.config` XML manifest (with or without pinned version numbers) to restore your setup on another machine.

#### Elevation Options

Modifying Chocolatey packages typically requires administrator privileges. You can choose your preferred elevation method in **Extension Preferences**:

- **Windows UAC Prompt (PowerShell)** *(Default)*: Prompts via standard UAC and captures full output and exit status.
- **gsudo**: Runs elevated commands inline when `gsudo.exe` is available on `PATH`.
- **Open in Terminal**: Launches commands in an elevated Windows Terminal / PowerShell window so you can watch live installation logs.
- **No Elevation**: Runs `choco.exe` directly for non-administrator Chocolatey installations.
