I know that I can add a path to the $PATH on the bash terminal with the command
I also know I can create an alias for the bash with the command
But only know I noticed that an alias for the bash is not a global alias and some tools might be unable to find (which is very reasonable ,if the documentation says that the tools just search the path for another dependency).
So how can I add something to the path with a different name so that every other command line tool will find it easily ? I can think of at least three uses for my question [g++9 as default (this can be solved with update alternatives), python 3 as default and not 2] but my main question occurred when I tried to install bazelisk as bazel because
tensorflow build by source configurations need
bazel , for your info I installed
go in the default directory , which is