-
Notifications
You must be signed in to change notification settings - Fork 595
Allow using homebrew to install with the installation script #244
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
Conversation
|
@Schniz Homebrew does work on Linux, as long as the formula code compiles the program from source, rather than downloading a precompiled binary. Couldn't the fnm formula be adapted to that end? |
I'll adapt it to favor downloading a prebuilt binary but compile when necessary. Now that the repo is Rust and not native Reason, it should be easier since it is more supported. Thanks! |
|
AFAIK a precompiled binary (bottle) is provided automatically by Homebrew. It's possible that that's only available for formulas in the core repo, but I see no reason not to migrate the formula there once it compiles fnm from source :) |
I don't really know how to make Homebrew patch the shell profiles
so making the install script use Homebrew might work well.
This will make Homebrew the default installation mechanism for fnm, which is already the case, but now will be supported by the installation script.
This can be overridden and work the same way as the Linux installation the following way:
This makes a great follow up question:
Is there a way to automate apt/yum/etc so we'll use real package managers instead of implementing our own for Linux boxes?