© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
B
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
Bazzite
Join
The operating system for the next generation of gamers.
29,482
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
Brew not installed error
B
Bazzite / 🛟bazzite-help
16mo ago
Calling Brew Installed Application from Systemd Timer / Service
B
Bazzite / 🛟bazzite-help
2y ago
brew Error
B
Bazzite / 🛟bazzite-help
7mo ago
Brew error
B
Bazzite / 🛟bazzite-help
2y ago