-
Notifications
You must be signed in to change notification settings - Fork 132
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
Access to the binaries without global install #44
Comments
It's already possible, except that you need to make the package manager name explicit, like this:
Making it optional shouldn't be too difficult though 🤔 |
I suppose the reason for requiring to repeat the name of the package manager is to support package managers with several binaries, right? Considering that most package managers use only one binary – or use several binaries as a shortcut for a command available in the "main" one (such as |
I think dropping the requirement is a good idea 👍 it's more that |
I wonder if it would be possible to have a feature similar to
python -m pip
to access the package manager binaries without having them on the path. It would be useful in case the binary name clashes with another program. That could potentially address the concern of "How Corepack scales if there's 1000 package managers added to it, each package manager adding 100 binaries to the path?".The API could look something like:
> corepack yarn install
wdyt?
The text was updated successfully, but these errors were encountered: