-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
simple command to list all user installed items (not installed only as dependency) #17117
Comments
I don't think we need a separate command for this behavior but adding an option to |
Makes me wonder if, in retrospect, |
Makes sense, agreed, to cover the case where a user wants to see non-leaves dependencies. Adding
🤷🏻 maybe. Too late now, not gonna be removed. |
Sample usage: $ brew ls --manual gcc llvm [...] $ brew ls --auto grpc protobuf [...] $ brew ls --manual --auto gcc: manual grpc: auto llvm: manual protobuf: auto [...] Resolves #17117.
Sample usage: $ brew ls --manual gcc llvm [...] $ brew ls --auto grpc protobuf [...] $ brew ls --manual --auto gcc: manual grpc: auto llvm: manual protobuf: auto [...] Resolves #17117.
Wow, that was fast. Thank you @ZhongRuoyu! And also @apainintheneck and @MikeMcQuaid for being so receptive. I will update the StackOverflow answer later today. |
Verification
brew install wget
. If they do, open an issue at https://github.com/Homebrew/homebrew-core/issues/new/choose instead.Provide a detailed description of the proposed feature
There should be a simple way to get a list of all the things one installed intentionally (as opposed to auto installed as a dependency).
As I state in my StackOverflow answer to the above linked question:
What is the motivation for the feature?
Both
brew update
andbrew outdated
list everything installed that is outdated. But I only want to consider updating packages that I specifically installed, and leave decisions about updating dependencies to the packages that depend on them. I can't remember which things are which.How will the feature be relevant to at least 90% of Homebrew users?
For the same reasons
brew list
,brew deps
,brew uses --installed
,brew leaves
andbrew leaves -r
are relevant: Users want to understand what is installed, and why it is installed. But none of the aforementioned commands answer the question, "What are all the things that I installed?", the answer to which is important per my motivation above, and probably for many other motivations.What alternatives to the feature have been considered?
As noted in my StackOverflow answer the desired list can be achieved via the unintuitive and complex
brew bundle dump --file -
. I would never have figured this out without lots of research and searches, which prompted me to write both the Stack Overflow question and my increasingly popular answer.The text was updated successfully, but these errors were encountered: