We can modify the /etc/paths file or we can create a file under /etc/paths.d such as /etc/paths.d/docker
which could contain;
~/.docker/bin
where the docker bin was located at /Users/my_username/.docker/bin
See also [here] for an example of adding JAVA to the System PATH in Linux.
No comments:
Post a Comment
Note: only a member of this blog may post a comment.