Sample Header Ad - 728x90

How to update the Unix path in macOS after editing /etc/paths.d

2 votes
2 answers
147 views
I added another file to /etc/paths.d containing the file I want to add the path environment variable on macOS Sequoia. The file is saved. I need my Mac to pay attention, to update the PATH with the new item. 👉🏽 How do I get my Mac to update the path now? I assume a restart of macOS will establish a newly updated path. But that seems extreme. How can I prompt an update of $PATH without bothering to restart the computer?
Asked by Basil Bourque (13982 rep)
May 2, 2025, 08:41 PM
Last activity: May 3, 2025, 07:08 PM