Skip to content
← Back to Community
What's the root password for the repl.it shell?
Profile icon
Donoru

I need to install Homebrew for a project with apt-get and have tried every common root password, and even tried using no sudo at all. Does anybody either know the root password or know how I can install Homebrew? NOTE: I have tried su

Answered by programmeruser [earned 5 cycles]
View Answer
Voters
Profile icon
DynamicSquid
Profile icon
Donoru
Comments
hotnewtop
Profile icon
programmeruser

Use the install-pkg command to install a package instead of apt-get.

Profile icon
Buhron

@programmeruser it says
main.sh: line 2: install-pkg: command not found

Profile icon
programmeruser

@Buhron install-pkg was removed when the new Nix-based containers were rolled out. You should probably use Nix now, but if you really want to, use this: https://github.com/replit/polygott/blob/master/extra/apt-install. Warning: it's really hacky and you might have to make a lot of modifications to the filesystem and environment to make the package actually work

Profile icon
Coder100

You can't access the root, it's a security thing.

Profile icon
Baconman321

You can't access root, nor will they give you access (for security reasons), sorry.

Profile icon
Donoru

@Baconman321 Thanks! I was just wondering.