Skip to content
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

[Question] Can formula and cask have the same name? #1344

Closed
wenfangdu opened this issue Apr 15, 2024 · 4 comments
Closed

[Question] Can formula and cask have the same name? #1344

wenfangdu opened this issue Apr 15, 2024 · 4 comments
Labels

Comments

@wenfangdu
Copy link

wenfangdu commented Apr 15, 2024

I understand that formula is cli tool and cask is gui tool, but does homebrew allow a formula and a cask having the same name? If it does, what happens if I run brew install dupe-name?

@SMillerDev
Copy link
Member

Not at all related to homebrew/bundle. But I'll answer while closing.


but does homebrew allow a formula and a cask having the same name?

Yes

If it does, what happens if I run brew install dupe-name?

It'll install the formula and tell you how to install the cask.

@wenfangdu
Copy link
Author

@SMillerDev Thank you for the quick response, can you give an example of such a package, I've never seen one.

@jacobbednarz
Copy link
Member

docker used to be one but i cannot think of another off the top of my head.

@jacobbednarz jacobbednarz closed this as not planned Won't fix, can't repro, duplicate, stale Apr 15, 2024
@wenfangdu
Copy link
Author

@jacobbednarz Thanks, looks like it still is:
image

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants