Can you use something other than Nix as a Package Manager?

Important question.

I was wondering if it was possible to switch to a different Package Manager instead of Nix.

Every time I try to install the Package Manager, Homebrew I get this:

==> Checking for sudo access (which may request your password)...
Insufficient permissions to install Homebrew to \"/home/linuxbrew/.linuxbrew\" (the default prefix).

Alternative (unsupported) installation methods are available at:
https://docs.brew.sh/Installation#alternative-install

Please note this will require most formula to build from source, a buggy, slow and energy-inefficient experience.
We will close any issues without response for these unsupported configurations.

And the script I used to try to install Homebrew, was this:

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

I don’t know why this happens, but it annoys me alot.

Hey @Pikachu!

Unfortunately, you don’t get sudo in Replit, as that would be a security risk.

Replit is also setup to work with nix, and would likely need a lot of configuration to allow other system package managers.

1 Like

Thanks for the info!

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.