kandji-inc / support

Software provided by the Solutions Engineering and Support teams at Kandji, Inc.

Home Page:https://kandji.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Brew not added to user's path

clintonb opened this issue · comments

The Homebrew installation script is not updating the user's path.

update_path() {

The command output by brew doctor is:

echo 'export PATH="/opt/homebrew/bin:$PATH"' >> ~/.zshrc

~/.zshrc doesn't exist.

I'm new to MDM. Perhaps the script should touch the file first?

Hi @clintonb , thanks for the question. Have you tried starting up a new CLI/Terminal session after installing homebrew?

If there are any CLI session active during the homebrew install from MDM, those sessions are not actually aware that brew has been added to the local user's path, but doing a zsh -l in an active session on the Mac or launching a new CLI window should allow brew to be called directly from the user's path.

I believe I have a similar problem that is being investigated by the Kandji Team

Ticket #81582 in your support portal.