© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
BazziteB
Bazzite•2y ago•
9 replies
RadDevon

Make brew-installed apps available to superuser?

Hey there. I've installed Neovim via Homebrew, but the superuser can't seem to use it (via
sudo nvim
sudo nvim
). How can I make Homebrew-installed apps available to the superuser?
Solution
Figured this one out myself and wanted to share the answer so that others could benefit... or maybe so that someone could tell me I did it wrong. 😅

I added the Homebrew
bin
bin
directory to the secure path by first running
sudo visudo
sudo visudo
and then adding
/home/linuxbrew/.linuxbrew/bin/
/home/linuxbrew/.linuxbrew/bin/
to the end of
secure_path
secure_path
.
Jump to solution
BazziteJoin
The operating system for the next generation of gamers.
29,482Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Brew not installed error
BazziteBBazzite / 🛟bazzite-help
16mo ago
Calling Brew Installed Application from Systemd Timer / Service
BazziteBBazzite / 🛟bazzite-help
2y ago
brew Error
BazziteBBazzite / 🛟bazzite-help
7mo ago
Brew error
BazziteBBazzite / 🛟bazzite-help
2y ago