chocolatey / chocolatey/choco

Add a "choco run" command

Open
#2,210 9 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
11.5k
Forks
960
PR merge metrics
No merged PRs in 30d

Description

While not all packages are applications, for ones that are, Chocolatey seems content with polluting the Start menu and/or Desktop (personally, when not using Chocolatey, I prefer to use portable, and just run the program using Explorer from a folder of my choice), assuming it's not just a program that auto-runs and sits in the tray. While not often, it's more than once that I installed a program using Chocolatey, then had to struggle to figure out where exactly it is and how to use/run it.

Then I compare it to things like npm or PlayStore (Yes, that's quite a wide spectrum, I'm aware), and the ability to just run a thing you installed without having to look for it, e.g. "choco run chocolateygui".

This would allow packages to specify optional metadata for "how to run". If possible, a package should be able to provide multiple options, for programs that have more than one way to run them/more than one executable. This could be represented by an option such as "choco run --list chocolateygui". This is less important, though, as I couldn't find any practical example for this on my own computer.

Contributor guide

Open the contributing guide

Research direction

Start by tracing the existing choco command entry points and how package metadata is represented. Compare the proposed "choco run" and "choco run --list" behaviors against the chocolateygui example, then define the metadata shape, executable selection rules, and tests needed to establish when the feature is complete.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.