-
-
Notifications
You must be signed in to change notification settings - Fork 279
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
Allow for customization of installers #1786
Comments
For anyone who is looking to replace npm with another package manager, like yarn or pnpm (or even bun), I have written a script that should be placed in My "solution" script (located at /usr/bin/npm):
again, this file is located at
after which I would set Of course, this does no cover every installer, so this issue will remain open |
I would prefer to automatically find first installed package manager and use that |
I've searched open issues for similar requests
Is your feature request related to a problem? Please describe.
I don't want to use npm, I like to keep things slim.
Describe the solution you'd like
Allow a configuration option which can change commands for certain installers, like npm, to other, less bloated alternatives. I can do this with a cheeky workaround where I symlink npm to yarn, but I would like a more official solution. I'm not asking you to change from npm, I'm just asking for a customization option there.
Describe potential alternatives you've considered
Symlink npm to yarn (weird and buggy (yarn doesn't like install))
Just use npm (I don't feel like compiling npm into my system, and I use yarn anyways)
Use a redirection script (I'll explain) (Too complex for most beginners)
Additional context
No response
The text was updated successfully, but these errors were encountered: